On Tue, 25 Sep 2001 [EMAIL PROTECTED] wrote:
> > 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
> "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?
On Tue, 25 Sep 2001 [EMAIL PROTECTED] wrote:
> > 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
> On Tue, 25 Sep 2001 [EMAIL PROTECTED] wrote:
> > 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 t
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
> "Daniel Falkenberg" <[EMAIL PROTECTED]> said:
> 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
On Tue, 25 Sep 2001, Daniel Falkenberg 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.
>
> if (something = something) {
> RUN NEW PERL SCR