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.
In reply to Re^3: AUTOLOAD not following @ISA as expected
by dave_the_m
in thread AUTOLOAD not following @ISA as expected [solved]
by chibiryuu
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |