Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Duplicate "addresses" in hashrefs when printing

by kyle (Abbot)
on Jun 09, 2009 at 12:32 UTC ( #769874=note: print w/ replies, xml ) Need Help??


in reply to Duplicate "addresses" in hashrefs when printing

My first thought is what almut wrote already. Probably what happened is that you dumped HTTP::Connection=HASH(0xbef7360), it was then destroyed, and the memory was reused to make HTTP::OtherClass=HASH(0xbef7360) (so it has the same address).

It's also possible to bless an existing object into some other class. In that case, rather than HTTP::Connection=HASH(0xbef7360) being destroyed, it just got reblessed into HTTP::OtherClass somewhere.

Either way, you wouldn't see HTTP::Connection=HASH(0xbef7360) and HTTP::OtherClass=HASH(0xbef7360) at the same time, only in two separate dumps.


Comment on Re: Duplicate "addresses" in hashrefs when printing
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (11)
As of 2014-07-23 06:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (133 votes), past polls