There's more than one way to do things | |
PerlMonks |
Re: Re: Counting only certain files...by perlplexer (Hermit) |
on May 17, 2001 at 21:37 UTC ( [id://81309]=note: print w/replies, xml ) | Need Help?? |
I think using grep() or glob() in this case is a total
overkill. You are not going to use filenames afterwards,
so there is no need to allocate all that memory just to
throw away the result.
--perlplexer
In Section
Seekers of Perl Wisdom
|
|