The error message you're getting is from your *shell*, not from Perl.#!/usr/bin/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 reply to Re: Simply Deleting a File
by btrott
in thread Simply Deleting a File
by jeffpflueger
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |