Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: checking keys exist in 1 key:multiple value situation

by Gilimanjaro (Hermit)
on Jan 30, 2003 at 13:50 UTC ( [id://231316]=note: print w/replies, xml ) Need Help??


in reply to checking keys exist in 1 key:multiple value situation

You don't need to check!

Perl uses auto-vivication to create your anonymous array as the hash value if it didn't exist yet...

You'll still need to make sure your key is correct though.

  • Comment on Re: checking keys exist in 1 key:multiple value situation

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (6)
As of 2024-04-23 11:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found