Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
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 !@monks...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (8)
As of 2017-10-18 18:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (250 votes). Check out past polls.

    Notices?