|
|
| We don't bite newbies here... much | |
| 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?? |
|
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
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||