Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

Re: Returning sub directories

by kennethk (Abbot)
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?

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (10)
As of 2015-11-25 18:43 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (685 votes), past polls