Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (3)
As of 2018-07-22 05:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?















    Results (451 votes). Check out past polls.

    Notices?