On Sun, Dec 23, 2001 at 07:30:21AM -0800, Peter Cornelius wrote:
> With system the output is not redirected for you and the return code goes
> to $!.
Minor correction: system returns the exit status, and stores that status in
$?, not $!. $! will contain the reason for a problem if $? or the return
value is -1.
> use File::Copy;
>
> at the top of your script. Then somewhere you can
> copy ("source", "dest") or die "with a useful message: $!\n";
>
> Guess what I'm going to say next? perldoc File::Find will tell you more.
Or perldoc File::Copy. :)
Michael
--
Administrator www.shoebox.net
Programmer, System Administrator www.gallanttech.com
--
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]