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

Answer: How do I find directories within directories using : parse_dir(`ls -l`)

by Codmate (Novice)
on Mar 12, 2003 at 18:09 UTC ( #242450=categorized answer: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    chomp (my @dir = `ls $path`);
    
  2. or download this
    my @list_of_directories = grep { -d "$path/$this_entry" } @dir;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
[choroba]: Good morning!

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (6)
As of 2017-01-18 08:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (160 votes). Check out past polls.