http://qs321.pair.com?node_id=225892


in reply to Re: Reinventing wheels based on bad benchmarks
in thread Odd file rename

I ran my tests on a fairly slow Win95 PC, and came out with File::Find being slightly faster. All in all, for a simple find like this, I might use File::Find::Rule anyway (and it would have even more overhead):
my @files = File::Find::Rule->file->name(*.txt)->in($dir);