Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

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
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.
        * 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!
        find . -type d
        The d stands for DUH

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (7)
As of 2014-09-22 11:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (190 votes), past polls