> Dan Muey wrote:
> > Howdy list what a beautifull Monday eh?
> >
> >
> > I have shell commands I need run from a list that Perl
> creates based
> > on a database.
> >
> > What I want to do is execute each command and regardless of what
> > happens to the external program keep running my per
> > So If I do this :
> >
> > for(@cmds) { exec($_); }
> >
> > It will execute $_ and keep cruising regardless of if $_ worked,
> > failed, wasn't found, etc..
> >
> > Correct?
>
> Nope :) exec() will replace your running perl interpreter
> with the program
> you're running, so that wouldn't h
> So If I do this :
>
> for(@cmds) { exec($_); }
>
> It will execute $_ and keep cruising regardless of if $_ worked, failed,
> wasn't found, etc..
>
> Correct?
Nope :) exec() will replace your running perl interpreter with the program
you're running, so that wouldn't have the effect you wanted
Dan Muey wrote:
> Howdy list what a beautifull Monday eh?
>
>
> I have shell commands I need run from a list that Perl creates based
> on a database.
>
> What I want to do is execute each command and regardless of what
> happens to the external program keep running my perl script.
>
> If I und
Howdy list what a beautifull Monday eh?
I have shell commands I need run from a list that Perl creates based on a database.
What I want to do is execute each command and regardless of what
happens to the external program keep running my perl script.
If I understand it right I need exec() for t