Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: how to get the all the subdirectories path from the directory

by gube (Parson)
on Mar 09, 2006 at 07:48 UTC ( #535343=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use File::Find;
    find(\&file_names, "/home/gube/");
    sub file_names {
    print "$File::Find::name\n" if(-f $File::Find::name);
    }
    
  2. or download this
    use File::Find;
    find(\&dir_names, "/home/gube/");
    sub dir_names {
     print "$File::Find::dir\n" if(-f $File::Find::dir,'/');
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://535343]
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-08-30 13:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (293 votes), past polls