Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
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 browsing the Monastery: (12)
As of 2015-07-06 15:42 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 (77 votes), past polls