Re: Passing an AppleScript string to a perl routine

2002-03-01 Thread Gero Herrmann
At 22:50 -0600 2002-02-28, Bruce A. Burdick, Jr. wrote: >What about: >set perlFileCall to perlFile & " " & myStr >set myDate to do shell script perlFileCall This works as long as the Perl script is stored in a separate file. When embedding the Perl script inside the AppleScript I could not make i

Re: Passing an AppleScript string to a perl routine

2002-03-01 Thread Chris Nandor
In article , [EMAIL PROTECTED] (Paul N. Schatz) wrote: > It would be much nicer to simply pass myStr directly to the > perl script for execution without the use of a temporary file, but I > can't seem to do it. > > This subject was discussed on the MacPerl list quite a while > ag

Re: Passing an AppleScript string to a perl routine

2002-02-28 Thread Bruce A. Burdick, Jr.
What about: set perlFileCall to perlFile & " " & myStr set myDate to do shell script perlFileCall or (quoting the args this time ...) set perlFileCall to perlFile & " \"" & myStr & "\"" set myDate to do shell script perlFileCall Does that work? (I don't know if 'do shell s