I think what you want at the very end of your AUTOLOAD method is
or better yet# don't turn strict 'refs' back on return $self ->$AUTOLOAD(@_);
unshift @_, $self; goto &$AUTOLOAD;
Update: fixed unshift typo.
the lowliest monk
In reply to Re: OO Perl and AUTOLOAD
by tlm
in thread OO Perl and AUTOLOAD
by tucano
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |