in reply to Re: How do you add class array values
in thread How do you add class array values
push expects an array as its first argument, not an array reference, so you need to dereference the value of $this->{fields}.push @{$this->{fields}}, "some value";
-Ton
-----
Be bloody, bold, and resolute; laugh to scorn
The power of man...
|
|---|