in reply to Deleting Files
Oh and the .*$ in your regex is extraneous as you're matching zero or more of anything to the end of the string, which will always match.unlink map "$dir\\$_", @file == @file or die "ack: $!";
_________
broquaint
update: fixed bug (added == @file to die appropriately), thanks to liz
|
|---|