http://www.perlmonks.org?node_id=606867


in reply to Re^3: quickest way to find number of files in a directory?
in thread quickest way to find number of files in a directory?

Nope. It does not depend on your shell. At least not if you're using Perl 5.6 or later, because glob is implemented via the standard File::Glob extension and does not rely on shell anymore.

The standard behavior of <*> or glob('*') is to not consider the dot files.

Replies are listed 'Best First'.
Re^5: quickest way to find number of files in a directory?
by choroba (Cardinal) on Jul 24, 2012 at 15:43 UTC
    In the example given, glob is not used with '*'.