Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Hash element exists/delete

by BillKSmith (Curate)
on Jan 22, 2013 at 14:43 UTC ( #1014680=note: print w/ replies, xml ) Need Help??


in reply to Hash element exists/delete

Deleting keys from the hash that you are iterating through may "work", but it is probably safer to create a new hash.

Bill


Comment on Re: Hash element exists/delete

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (8)
As of 2016-02-14 00: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 (451 votes), past polls