Parens don't make an array; you'd need to store a reference to an array created with []. See perlreftut, perldsc, perllol. See also Moose and MooseX::AttributeHelpers (for Collection::Array).
The cake is a lie.
The cake is a lie.
The cake is a lie.
In reply to Re: array as attributes in OO perl
by Fletch
in thread array as attributes in OO perl
by IL_MARO
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |