Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
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
Replies are listed 'Best First'.
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 taking refuge in the Monastery: (10)
As of 2015-07-08 05:43 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 (94 votes), past polls