in reply to Re: How do you add class array values
in thread How do you add class array values

Actually, that won't work. You need this as the second line:
push @{$this->{fields}}, "some value";
push expects an array as its first argument, not an array reference, so you need to dereference the value of $this->{fields}.

-Ton

-----

Be bloody, bold, and resolute; laugh to scorn
The power of man...