Think about Loose Coupling | |
PerlMonks |
Re: sub DESTROY: Strange ordering of object destructionby anonymized user 468275 (Curate) |
on Mar 03, 2011 at 09:52 UTC ( [id://891183]=note: print w/replies, xml ) | Need Help?? |
The bit about going out of scope bothers me. When something goes out of scope, it isn't always destroyed and may yet come back into scope later with its values conserved. Imagine you are asked to prove your assertion that the unwarranted destruction is taking place - what evidence would you present to support this (show the code that prints or examines the reference) and how would you argue that it leads to your conclusion?
One world, one people
In Section
Seekers of Perl Wisdom
|
|