Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^5: How best to validate the keys of hashref arguments?

by cbeckley (Curate)
on Mar 16, 2017 at 19:53 UTC ( #1184921=note: print w/replies, xml ) Need Help??


in reply to Re^4: How best to validate the keys of hashref arguments? (updated)
in thread How best to validate the keys of hashref arguments?

Ah, well that last bit certainly nudges me a little harder towards OO, which is where I was leaning anyway, eventually ...

In the short term Hash::Util::lock_ref_keys keeps me from looking for typos at run time, which was what I wanted ... initially ...

Thanks again for all your input. Incredibly helpful, and enlightening, and oh-my-god-do-I-have-a-lot-to-learn!

  • Comment on Re^5: How best to validate the keys of hashref arguments?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1184921]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2020-05-30 12:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    If programming languages were movie genres, Perl would be:















    Results (171 votes). Check out past polls.

    Notices?