Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

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

Comment on Re: Re: List all directories
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (3)
As of 2015-10-05 00:55 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (106 votes), past polls