All "methods" are called with the object as the first parameter:
use Data::Dumper; ... sub AUTOLOAD { my $self = shift; warn $AUTOLOAD; warn Dumper \$self; };
I didn't read the question completely - ikegami's reply is far more on the spot
In reply to Re: Anonymous Autoloading with OOP?
by Corion
in thread Anonymous Autoloading with OOP?
by AlphaWolf
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |