in reply to Re^2: AUTOLOAD not following @ISA as expected
in thread AUTOLOAD not following @ISA as expected [solved]
Yes, that is what I meanIn that case I think you want to replace sub {goto \&{$#_ ? $set : $get}}; with
orsub { my $self = shift; @_ ? $self->$set(@_) : $self->$get(@_) };
sub { goto &{$_[0]->can($#_ ? $set : $get)} };
Dave.
|
|---|