note
runrig
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 [cpan://File::Find::Rule] anyway (and it would have even more overhead):<code>
my @files = File::Find::Rule->file->name(*.txt)->in($dir);
</code>
18077
225741