foreach my $file ( grep /\.asp$/i, readdir DIR ) {
Why not use glob("$dir/*.asp") here instead of readdir?
(I expect to learn something here)
--In reply to Re: One-shot code critique
by FoxtrotUniform
in thread One-shot code critique
by patgas
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |