Max Kanat-Alexander wrote:
But one way or another, this does seem like a bug. That DESTROY handler ought to get called.
By saying go out of scope, or holding a reference, he is implying that the reference count is not = 0 ever. When a "object"'s ref count reaches 0, DESTROY is called.
pnotes() is special in that it doesn't create a copy of the variable (depending on how you use it) it just does an SvREF_inc() on the HV. So when you delete it from the pnotes, you might be trigger more then you think (agreeing with Johnathna's though that Bugzilla is doing something strange with a pnotes key)
-- ------------------------------------------------------------------------ Philip M. Gollucci ([EMAIL PROTECTED]) 323.219.4708 Consultant / http://p6m7g8.net/Resume/resume.shtml Senior Software Engineer - TicketMaster - http://ticketmaster.com 1024D/A79997FA F357 0FDD 2301 6296 690F 6A47 D55A 7172 A799 97F "In all that I've done wrong I know I must have done something right to deserve a hug every morning and butterfly kisses at night."