Packages don't really derive from UNIVERSAL: it's just the last entry in @ISA. It's not like Object in Java or some other languages. UNIVERSAL will always be after everything else.
It's true that some other AUTOLOAD may handle DESTROY, and in that case you wouldn't want to do that. I typically don't let AUTOLOAD handle special methods like DESTROY, though.
In reply to Re^5: wat ::DESTROY will do
by brian_d_foy
in thread wat ::DESTROY will do
by kprasanna_79
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |