in reply to Re^2: Upper / Lower case extensions
in thread Upper / Lower case extensions
my @datafiles = glob("$basepath$ARGV[0]/$ARGV[1].[dD][aA][tT]");
It takes care of the special cases and eliminates the grep.
Figuring out why it eliminates the grep is an exercise for the reader. :-) Hint: You might need to use man instead of perldoc. . .
-sauoq "My two cents aren't worth a dime.";
|
|---|