Tell me if I am wrong but woulnt it be a bit faster because you are not doing a conditional check in the loop?my %trash; @trash{@file_list} = " "; delete @trash{@saved_files}; foreach $file (keys %trash) { unlink $file; }
In reply to Re: Re: Re: File deletion
by Three
in thread File deletion
by cored
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |