Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^2: Beginners guide to File::Find

by Anonymous Monk
on Jan 11, 2012 at 04:10 UTC ( [id://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?

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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://947279]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (6)
As of 2024-03-29 14:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found