in reply to Need help with unlink error
foreach my $file ( @files ) { unlink $file or warn "Could not unlink $file: $!"; } [download]