perl passes the ref to the current object as the first argument in @_sub addValue { my $this = $_[0]; push $this->{fields}, "some value"; }
In reply to Re: How do you add class array values
by suaveant
in thread How do you add class array values
by daveman
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |