in reply to Re^2: List Wrapper for Object Methods.
in thread List Wrapper for Object Methods.
at the beginning of the AUTOLOAD sub, or define a do-nothing DESTROY method (assuming you really don't have any cleanup to do). Perl calls the DESTROY method when it does garbage collection, even if you haven't defined a DESTROY method.return if $AUTOLOAD =~ /::DESTROY$/;
|
|---|