in reply to One-shot code critique
foreach my $file ( grep /\.asp$/i, readdir DIR ) {
Why not use glob("$dir/*.asp") here instead of readdir?
(I expect to learn something here)
--
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: One-shot code critique
by tachyon (Chancellor) on Sep 28, 2001 at 22:04 UTC | |
by FoxtrotUniform (Prior) on Sep 29, 2001 at 01:24 UTC |