in reply to Perl Warning Help
$fn is defined asif (-e $fn) { system("del $fn"); }
is this a bad way to delete a file if it exists...my $dir = getcwd; my $fn=$dir."\\Logs\\temp.log";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Perl Warning Help
by xdg (Monsignor) on Nov 28, 2005 at 16:07 UTC | |
by Arcane (Initiate) on Nov 28, 2005 at 16:09 UTC | |
|
Re^2: Perl Warning Help
by tirwhan (Abbot) on Nov 28, 2005 at 16:09 UTC |