Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^2: Gather file count in directory

by mr.nick (Chaplain)
on Jan 05, 2012 at 18:14 UTC ( [id://946445]=note: print w/replies, xml ) Need Help??


in reply to Re: Gather file count in directory
in thread Gather file count in directory

If you're willing to slurp in the entire filelist, you can also do
my $num_of_files = scalar @{[<*>]};

mr.nick ...

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (4)
As of 2024-04-18 02:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found