in reply to Re^4: wat ::DESTROY will do
in thread wat ::DESTROY will do
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.
|
|---|