in reply to Search through directories
my @log_dir = glob "/usr/home/*/logs"; for ( @log_dir ) { do_something if -d $_ }
In Section
Seekers of Perl Wisdom
in reply to Search through directories
my @log_dir = glob "/usr/home/*/logs"; for ( @log_dir ) { do_something if -d $_ }