in reply to case insensitive filename matching
grep { is_in(@mylist) } @files_in_the_filesystem
That'll give you the list of files you want (hopefully).
Of course, you'll have to code the is_in subroutine, which will probably contain a bit of code like this:
$newfile =~ /^$oldfile$/i
I hope that sets you in the right direction. Honk if you need more help :-)
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: case insensitive filename matching
by edan (Curate) on Feb 10, 2005 at 13:37 UTC | |
by cog (Parson) on Feb 10, 2005 at 13:45 UTC |