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
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
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