Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Hash element exists/delete

by BillKSmith (Vicar)
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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1014680]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (2)
As of 2017-11-19 16:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (282 votes). Check out past polls.

    Notices?