in reply to Re^4: Seeking the longest string in an array
in thread Seeking the longest string in an array

you're right, I missed that. But even index(lc($data[0]), lc($_)) should be faster than $data[0] =~ /\Q$_\E/i.