Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^2: Beginners guide to File::Find

by Anonymous Monk
on Jan 11, 2012 at 04:10 UTC ( #947279=note: print w/ replies, xml ) Need Help??


in reply to Re: Beginners guide to File::Find
in thread Beginners guide to File::Find

Instead of finding files between min and max depth, how do I find all sub directories (except . and ..) between min and max depth?


Comment on Re^2: Beginners guide to File::Find
Re^3: Beginners guide to File::Find
by Anonymous Monk on Jan 11, 2012 at 10:18 UTC

    See File::Find::Rule, the synopsis has an example

    use File::Find::Rule; # find all the subdirectories of a given directory my @subdirs = File::Find::Rule->directory->in( $directory );

    For future reference, new questions go in Seekers Of Perl Wisdom

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (7)
As of 2014-12-21 21:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (108 votes), past polls