Syntactic Confectionery Delight | |
PerlMonks |
Re: Re: -e and unlinkby dws (Chancellor) |
on Mar 14, 2001 at 04:34 UTC ( [id://64288]=note: print w/replies, xml ) | Need Help?? |
japhy's reply may be worth expanding on.
IF you don't care about reporting errors, then unlink $filename; is sufficient. IF you DO care about reporting errors (such as a failure to remove a file that your script lacks permission to remove), then you'll want to do something like:
In Section
Seekers of Perl Wisdom
|
|