in reply to Turning off case sensitivity when using conditions

if ($word1 =~ /\b$word2\b/i) if (lc($word1) eq lc($word2)) if ($word1 =~ /^$word2$/i)

I'm sure there are plenty more