• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Setting AS Var to Perl Result
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Re: Setting AS Var to Perl Result (From: "Mark J. Reed" <email@hidden>)

  • Prev by Date: Re: Setting AS Var to Perl Result
  • Next by Date: Re: Setting AS Var to Perl Result
  • Previous by thread: Re: Setting AS Var to Perl Result
  • Next by thread: Re: Setting AS Var to Perl Result
  • Index(es):
    • Date
    • Thread