If I were to do this, I'd probably do just a bit more to make it obvious:
sub method { my ($self, $i) = @_; if (@_ > 2) { $self->{B}[$i] = $_[2]; } return $self->{B}[$i]; }
In reply to Re: Very very small style question
by chromatic
in thread Very very small style question
by Dominus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |