Perl objects only get destroyed in the wrong order during 'global destruction'. If you avoid globals (enough to get your objects destroyed before 'global destruction' kicks in), then your objects get destroyed in a sensible order, always.
I also consider this a bug in Perl, even though it has existed for a very long time.
- tye
In reply to Re^2: destroying object (order)
by tye
in thread destroying object
by slayven
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |