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$/;
In reply to Re^3: List Wrapper for Object Methods.
by Arunbear
in thread List Wrapper for Object Methods.
by pelagic
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |