Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Answer: Using RegExp with hashes and returning multiple values

( #171169=categorized answer: print w/ replies, xml ) Need Help??

Q&A > regular expressions > Using RegExp with hashes and returning multiple values contributed by ariels

Match against the keys of the hash.

But you might be in luck: CPAN has Tie::Hash::Approx and Tie::Hash::Regex, one of which might be suitable for you.

Comment on Answer: Using RegExp with hashes and returning multiple values
Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (21)
As of 2015-07-30 20:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (273 votes), past polls