Re: Setting AS Var to Perl Result
Re: Setting AS Var to Perl Result
- Subject: Re: Setting AS Var to Perl Result
- From: "Mark J. Reed" <email@hidden>
- Date: Mon, 29 Nov 2010 11:44:36 -0500
So run the Perl in a terminal and see what you get. There's no such
thing as 'echo' in Perl, so you should have gotten a syntax error
there.
On Mon, Nov 29, 2010 at 11:42 AM, Marconi <email@hidden> wrote:
> At 11:27 AM -0500 11/29/10, Mark J. Reed sent email regarding Re: Setting AS
> Var to Perl Result:
>>
>> The result of do shell script is the *output* of the executed command.
>> So just have the Perl "print" the result you want returned to AS.
>
> I've tried print and echo but get nothing so my Perl (which is not very
> good) is likely defective. I tried adapting a different script but,
> obviously, got something wrong.
>
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> AppleScript-Users mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
> Archives: http://lists.apple.com/archives/applescript-users
>
> This email sent to email@hidden
>
--
Mark J. Reed <email@hidden>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden