Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^3: Pattern matching with hash keys

by prasadbabu (Prior)
on Oct 04, 2010 at 06:37 UTC ( #863269=note: print w/ replies, xml ) Need Help??


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,

$str =~ /rabbit/i
But TIMTOWTDI, you can do that with functions also.

Prasad

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://863269]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (5)
As of 2016-08-28 14:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The best thing I ever won in a lottery was:















    Results (393 votes). Check out past polls.