in reply to Evolution of a Perl Programmer (new backup script)
Why not just use unlink $ERRORFILE? System calls have a fair amount of overhead and I'm not clear why you would use this instead of a built in function.system("rm $ERRORFILE") if -e $ERRORFILE;
Also, you really want to use File::Find for traversing through directories.
Cheers,
Ovid
Join the Perlmonks Setiathome Group or just click on the the link and check out our stats.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: (Ovid) Re: Evolution of a Perl Programmer (new backup script)
by dws (Chancellor) on Dec 21, 2000 at 01:13 UTC |