Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Re: Re: how to avoid mis-spelling hash keys?

by Beatnik (Parson)
on Jan 05, 2003 at 18:25 UTC ( #224444=note: print w/replies, xml ) Need Help??


in reply to Re: Re: how to avoid mis-spelling hash keys?
in thread how to avoid mis-spelling hash keys?

Well, if there is an exact match, it's no roulette. There are quite simple techniques to verify a hash key actually exists. In fact, like janx noted above, there's Tie::Hash::Approx by our very own OeufMayo which does pretty much just that :)

Tie::Hash::Approx - Approximative match of hash keys using String::Approx

Greetz
Beatnik
... Quidquid perl dictum sit, altum viditur.
  • Comment on Re: Re: Re: how to avoid mis-spelling hash keys?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://224444]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (11)
As of 2017-02-28 17:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (406 votes). Check out past polls.