Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Returning sub directories

by kennethk (Monsignor)
on Nov 10, 2009 at 15:44 UTC ( #806246=note: print w/ replies, xml ) Need Help??


in reply to Returning sub directories

What have you tried that didn't work? (a), (b), and (c) can be quite simply accomplished in one line using readdir, -d and grep. This can then be fed into a foreach loop.

If you don't want to code that much and don't actually care about what your subdirectories are, you can do something similar with File::Find.


Comment on Re: Returning sub directories

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (9)
As of 2014-08-27 18:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (248 votes), past polls