$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";
In reply to Re: Perl Warning Help
by Arcane
in thread Perl Warning Help
by Arcane
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |