Perl Monk, Perl Meditation | |
PerlMonks |
Re: Simply Deleting a Fileby btrott (Parson) |
on Mar 02, 2001 at 06:58 UTC ( [id://61736]=note: print w/replies, xml ) | Need Help?? |
No, the real problem here is that your #! line is wrong. You
have a semicolon at the end. It should be:
The error message you're getting is from your *shell*, not from Perl. Of course, it's also true that you need to quote your filename that you're passing to unlink, and that you need to add some error checking on unlinking the file.
In Section
Seekers of Perl Wisdom
|
|