in reply to Ignoring case

Hmm you could always just:
my $line = lc $_;
Then as long as all your matching strings are lowercase, you'll be ok
Desert coder