Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Preventing autovivification while accessing value (Hash::NoVivify)

by lodin (Hermit)
on Jan 28, 2008 at 21:26 UTC ( #664784=note: print w/ replies, xml ) Need Help??


in reply to Preventing autovivification while accessing value

There's also Hash::NoVivify which simply exports Exists and Defined that takes a hashref and a list of keys.

lodin


Comment on Re: Preventing autovivification while accessing value (Hash::NoVivify)
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (5)
As of 2016-02-14 17:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?





    Results (470 votes), past polls