Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: trying to count files in a directory and subs

by graff (Chancellor)
on May 20, 2016 at 03:14 UTC ( [id://1163576]=note: print w/replies, xml ) Need Help??


in reply to trying to count files in a directory and subs

I have no idea what you have in mind with using all those modules, but in terms of scanning a directory tree, you might want to look at a script I posted at the Monastery a few years ago: Get useful info about a directory tree.

On the whole, it's probably a bit off-track (and overkill) for what you want to do (it's a reporting script, with lots of options for what to report), but it covers all the basics, and it's works about as fast as any approach possible in perl. (I use that script almost every day.)

  • Comment on Re: trying to count files in a directory and subs

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (6)
As of 2024-04-23 07:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found