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

Re: Search through directories

by fglock (Vicar)
on Jul 31, 2003 at 21:11 UTC ( [id://279795]=note: print w/replies, xml ) Need Help??


in reply to Search through directories

my @log_dir = glob "/usr/home/*/logs"; for ( @log_dir ) { do_something if -d $_ }

Replies are listed 'Best First'.
Re: Re: Search through directories
by Perl_User (Acolyte) on Jul 31, 2003 at 21:16 UTC
    Thanks much. The glob function worked!

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (8)
As of 2024-03-28 09:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found