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

Answer: Using RegExp with hashes and returning multiple values

by ariels (Curate)
on Jun 03, 2002 at 08:33 UTC ( #171169=categorized answer: print w/replies, xml ) Need Help??

Q&A > regular expressions > Using RegExp with hashes and returning multiple values - Answer 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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (10)
As of 2016-12-08 19:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (144 votes). Check out past polls.