in reply to quickest way to find number of files in a directory?
Probably something along these lines:
my $dir = 'directory name goes here'; my @files = <$dir/*>; my $count = @files;
--
See the Copyright notice on my home node.
"The first rule of Perl club is you do not talk about Perl club." -- Chip Salzenberg
In Section
Seekers of Perl Wisdom