in reply to Re^2: Regex Question
in thread Regex Question
You can check out perldoc -f glob at the command line or perldoc.org!use File::Basename; my $dir = dirname($path); $dir .= '/*'; # Note: if the result of dirname already has the slash, +you only need to add the * while (glob $dir) { # this will loop through files in that directory, putting each filen +ame in $_ }
|
|---|