On Tue, 25 Sep 2001 [EMAIL PROTECTED] wrote:
> > This may seem like an odd questiong but to avoid race conditions I need
> > to be able to run a Perl script from a Perl script (Ie execute it
> > without any user interaction). Is this possbile.
> >
>
> Take a look at the "do" function. I use it all the time in some of
> my CGI scripts. It takes a script filename and executes it as a perl
> program.
Yikes. If you're going to that, you're better off creating a Perl module
and using that in your script. 'do' is better for including subroutines
and symbols from another file, since the file is eval'd, for all intents
and purposes, in the calling script.
-- Brett
http://www.chapelperilous.net/
------------------------------------------------------------------------
This fortune intentionally not included.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]