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
In reply to Re: Deleting Files
by broquaint
in thread Deleting Files
by LeeC79
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |