in reply to sub DESTROY: Strange ordering of object destruction (SOLVED)
This happens both on global destruction (exit) and controlled explicit destruction, i.e. undef $A.
Saying you used undef $A doesn't tell us anything about when the referenced object was destroyed.
You should only get the stated behaviour during global destruction, and I find it hard to believe it has occurred at any other time.
Without a demonstration, we can't really give anything but coulds and shoulds.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: sub DESTROY: Strange ordering of object destruction
by ELISHEVA (Prior) on Mar 03, 2011 at 11:45 UTC | |
by Corion (Patriarch) on Mar 03, 2011 at 11:57 UTC | |
by Anonymous Monk on Mar 03, 2011 at 12:07 UTC | |
by Anonymous Monk on Mar 03, 2011 at 11:49 UTC |