in reply to Delete files with Perl in Windows
$! check the return value. As noted this is probably a permissions issue. Check the helpful me$!$!age. Make sure you have printed a header then.....
for my $file (@filelist) { unlink $file or print "<p>Unable to delete $file. Reason $!\n"; }
|
|---|