in reply to Counting LOTS of Files

use File::Find; my $count = 0; find sub { $count++ if -f and -s and not -l; }, "/top/level"; print "$count\n";

-- Randal L. Schwartz, Perl hacker