[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] Calling a script from a script



At 14.58 -0400 1999.06.09, Vanessa Gregory wrote:
>There was one particular script which called up another script, passing on
>the current environment to it. This was the code from the previous script:

>		open (OUTP, "| process.exe secondscript.pl");

You could do this with ToolServer.

  open(OUTP, "| perl 'full:path:to:secondscript.pl'") or die $!;

ToolServer needs to be installed and configured in much the same MPW perl is.

--
Chris Nandor          mailto:pudge@pobox.com         http://pudge.net/
%PGPKey = ('B76E72AD', [1024, '0824090B CE73CA10  1FF77F13 8180B6B6'])

===== Want to unsubscribe from this list?
===== Send mail with body "unsubscribe" to macperl-request@macperl.org