in reply to system( 'mv ...' ) not working?
system ($cmd1) == 0 or die "Cannot $cmd1:$?\n";
and
system ($cmd2) == 0 or die "Cannot $cmd2:$?\n";
As you well know Bob, the error from child processes is contained in the $? variable, also known as $CHILD_ERROR.
--
Regards,
Helgi Briem
hbriem AT simnet DOT is
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: system( 'mv ...' ) not working?
by Grygonos (Chaplain) on Sep 23, 2003 at 16:55 UTC | |
Re: Re: system( 'mv ...' ) not working?
by ramses0 (Initiate) on Sep 23, 2003 at 18:40 UTC |