in reply to Re^2: Pattern matching with hash keys
in thread Pattern matching with hash keys
You can do that with regex with 'i' option modifier which stands for ignore case. Refer perlre. For example,
But TIMTOWTDI, you can do that with functions also.$str =~ /rabbit/i
Prasad
In Section
Seekers of Perl Wisdom