in reply to Re: Upper / Lower case extensions
in thread Upper / Lower case extensions
If odd cases like Dat, dAt, and other such silliness might exist, you could also use:
But if you only have to deal with all upper or all lower case, Zaxo's answer is better.my @datafiles = grep { -f } glob("$basepath$ARGV[0]/$ARGV[1].{d,D}{a,A}{t,T}");
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re^2: Upper / Lower case extensions
by sauoq (Abbot) on Jul 31, 2002 at 09:12 UTC |