Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^2: how to use "delete" with a hash of hash

by brassbin (Novice)
on Jan 29, 2013 at 14:05 UTC ( #1015877=note: print w/ replies, xml ) Need Help??


in reply to Re: how to use "delete" with a hash of hash
in thread how to use "delete" with a hash of hash

thanks for pointing that out, i think i know now where the problem is

i was using a simplified code snippet to highlight the top-level key deletion question, the actual code is a bit more complicated, the variable that holds the top-level key is the result of a regular expression match, and i yet again underestimated the greediness of the .* construct

thanks again for pointing out the useful of "warnings" & "diagnostics" pragmas, and your help on the usage of the "delete" function in the HoH context, thank you all


Comment on Re^2: how to use "delete" with a hash of hash

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (17)
As of 2015-07-06 20:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (83 votes), past polls