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

Re: [MacPerl] MacPerl scripts running other MacPerl scripts...



At 10.16 1998.04.03, Marty_Lynch@avid.com wrote:
>   I was wondering; is it poosible to run one MacPerl script from
>another MacPerl script?

Use the require() command.  It executes a given script.  Now, it can affect
your existing script, but there ya go.  You can also do($filename), which
is similar.  If you have ToolServer (which is free as a part of MPW from
Apple's site), you can even do system("perl $file") or `perl $file`.

--
Chris Nandor          mailto:pudge@pobox.com         http://pudge.net/
%PGPKey=('B76E72AD',[1024,'0824 090B CE73 CA10  1FF7 7F13 8180 B6B6'])
#==               New Book:  MacPerl: Power and Ease               ==#
#==    Publishing Date: Early 1998. http://www.ptf.com/macperl/    ==#



***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch