Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^4: quickest way to find number of files in a directory?

by ferreira (Chaplain)
on Mar 27, 2007 at 20:30 UTC ( #606867=note: print w/replies, xml ) Need Help??


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 (Bishop) on Jul 24, 2012 at 15:43 UTC
    In the example given, glob is not used with '*'.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://606867]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2019-10-21 15:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?