Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
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 admiring the Monastery: (3)
As of 2024-05-26 22:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found