> "Brett W. McCoy" <[EMAIL PROTECTED]> said:
> On Tue, 25 Sep 2001 [EMAIL PROTECTED] wrote:
> > I generally agree. But if you have a perl script that is not a module, I have
> > found "do" to be very useful in certain circumstances.
>
> How does its execution differ from using system or forking?
"do" executes inline. The called script has access to all the perl globals in
the calling script. Doing a "system" (which does an implicit fork) creates a
separate process. Which method is better depends on your application.
--
Smoot Carl-Mitchell
Consultant
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]