Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: how to avoid mis-spelling hash keys?

by Hofmator (Curate)
on Jan 05, 2003 at 19:07 UTC ( #224454=note: print w/replies, xml ) Need Help??


in reply to how to avoid mis-spelling hash keys?

Pre perl 5.8 you can use Tie::Hash::FixedKeys by davorg. It has exactly the functionality you ask for with the drawback of using the tie mechanism which implies a decrease in performance.

-- Hofmator

  • Comment on 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://224454]
help
Chatterbox?
[Discipulus]: the most common in Eataly, for males is to touch twice his own balls

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (5)
As of 2018-04-26 09:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?