Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Expanding directories

by bronto (Priest)
on Jun 24, 2002 at 10:50 UTC ( [id://176736]=note: print w/replies, xml ) Need Help??


in reply to Expanding directories

Maybe you want something like this:

@dirs = </var/log/HOSTS/*/*/$year/$month/$day/*>

Anyway, it's not that "clean", so consider glob or File::Glob. Just do a perldoc -f glob to get some details.

Ciao!
--bronto

Replies are listed 'Best First'.
Re: Re: Expanding directories
by gav^ (Curate) on Jun 24, 2002 at 12:50 UTC
    If you check the man page for glob you get:
    Beginning with v5.6.0, this operator is implemented using the standard File::Glob extension

    gav^

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (7)
As of 2024-03-28 15:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found