Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Search through directories

by fglock (Vicar)
on Jul 31, 2003 at 21:11 UTC ( #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? | Other CB clients
Other Users?
Others romping around the Monastery: (3)
As of 2022-12-02 23:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?