in reply to wat ::DESTROY will do
It allows UNIVERSAL::AUTOLOAD to do something unless it's being invoked as a destructor.
$UNIVERSAL::AUTOLOAD contains the name of the function or method name call that resulted in UNIVERSAL::AUTOLOAD() (the autoload function) being invoked. The programmer who wrote this sub decided he wanted UNIVERSAL::AUTOLOAD() to skip whatever it does if it is being invoked as a destructor.
Dave
|
|---|