http://qs1969.pair.com?node_id=279787

Perl_User has asked for the wisdom of the Perl Monks concerning the following question:

I am trying to process files that are stored in /usr/home/*/logs/. when I try to open the logs directory with this code, it does not recognize the "*"
my $log_dir = "/usr/home/*/logs"; opendir (LOG, $log_dir) or die "Error: Unable to open $log_dir. $!\n";
This is not working. Can anyone help?! Thanks in advance