Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: List all directories

by broquaint (Abbot)
on Sep 25, 2003 at 19:16 UTC ( #294225=note: print w/ replies, xml ) Need Help??


in reply to List all directories

Using the search-tastic File::Find::Rule we can do this quite simply

use File::Find::Rule; print "$_\n" for find(directory => in => $ENV{HOME});
See. the File::Find::Rule docs for more info.
HTH

_________
broquaint


Comment on Re: List all directories
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (10)
As of 2015-07-29 07:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (261 votes), past polls