Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

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

by Codmate (Novice)
on Mar 12, 2003 at 18:09 UTC ( [id://242450]=note: 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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://242450]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (6)
As of 2024-04-23 14:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found