in reply to quickest way to find number of files in a directory?
Depending on the amount of the files you're talking about, maybe File::Find::Rule fit your needs:
use strict; use warnings; use File::Find::Rule; my @files = File::Find::Rule->file()->in('/my/path'); print scalar @files, $/;
Igor 'izut' Sutton
your code, your rules.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: quickest way to find number of files in a directory?
by Anonymous Monk on Apr 05, 2007 at 15:38 UTC | |
Re^2: quickest way to find number of files in a directory?
by Anonymous Monk on Apr 05, 2007 at 15:35 UTC | |
by izut (Chaplain) on Apr 05, 2007 at 19:43 UTC | |
by Anonymous Monk on Mar 13, 2010 at 02:02 UTC |
In Section
Seekers of Perl Wisdom