in reply to case insensitive filename matching

Besides "finding" the list again or trying all permutations, you may want to simply

while (<FILE>) { $real_filename = `ls -l | grep -i $_`; }


or something similar - however it may be more beneficial to group files in the same directory together (if they are not already) to reduce the number of system calls.