Two suggestions: use strict; and use or die ... rather than || die
Also, how is this supposed to work? Files generally can't be deleted twice.
unlink("$3"); if (unlink($3) == 0)
In reply to Re: Delete txt file in a previous file
by Anonymous Monk
in thread Delete txt file in a previous file
by stavros
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |