One way to solve this is to write.
Note that with the give code, you don't need to initialize $$self{__name}, as Perl will autovivify it if necessary.my $self; $$self{__name} = $fields{__name}; $$self{__mpp} = @{$fields{__mpp}};
In reply to Re: Anonymous array in object
by JavaFan
in thread Anonymous array in object
by GGGav
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |