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^