Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight

Re: List all directories

by mandog (Curate)
on Sep 25, 2003 at 21:22 UTC ( #294259=note: print w/replies, xml ) Need Help??

in reply to Re: Re: List all directories
in thread List all directories

Is this homework?

A couple other monks have provided much slicker, one line solutions that you can copy 'n paste...

To answer your specific quesion, you can add print statements to various places in the sub...and perhaps remove bits of code that aren't relivant to your purposes

email: mandog

Replies are listed 'Best First'.
Re: Re: List all directories
by Anonymous Monk on Sep 25, 2003 at 21:36 UTC
    ok mandog. thanks
Re: Re: List all directories
by Anonymous Monk on Sep 25, 2003 at 21:57 UTC
    mandog , I don't use perl at all . this a small script I have to write at work thats all. I will probably never used perl again . but thanks for your help anyway.
      find . -type d
      The d stands for DUH
      * Geez * with all of the out of work software people you think your boss could find someone knows what you know and Perl too. Christ you are the poster child for overseas out sourcing!

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (4)
As of 2019-06-19 04:46 GMT
Find Nodes?
    Voting Booth?
    Is there a future for codeless software?

    Results (83 votes). Check out past polls.

    • (Sep 10, 2018 at 22:53 UTC) Welcome new users!