Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

Re: Re: List all directories

by Anonymous Monk
on Sep 25, 2003 at 20:51 UTC ( #294251=note: print w/replies, xml ) Need Help??

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

I like the way you are doing it, but this just to show the binary size , how would I make it list the directories name like /bla/ba2/ba23 thanks for your help

Replies are listed 'Best First'.
Re: List all directories
by mandog (Curate) on Sep 25, 2003 at 21:22 UTC

    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
      ok mandog. thanks
      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://294251]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (3)
As of 2018-04-23 04:21 GMT
Find Nodes?
    Voting Booth?