Perl-Sensitive Sunglasses | |
PerlMonks |
Re^3: Why is the base class's destructor not called?by ikegami (Patriarch) |
on Jan 24, 2014 at 14:55 UTC ( [id://1071951]=note: print w/replies, xml ) | Need Help?? |
No, it happens in whatever order you want it to. The order is fixed in C++, completely but up to you in Perl. Like you found out, you can even completely skip calling a destructor.
In Section
Seekers of Perl Wisdom
|
|