in reply to Anonymous Autoloading with OOP?
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
|
|---|