The square brackets create an array reference from the array 5..11 See perldoc perlref for more details.my $slice = { kind => $kind, prop => $prop, item => [ 5..11 ], };
In reply to Re: how to store an array to a pseudohash?
by pc88mxer
in thread how to store an array to a pseudohash?
by Hanken
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |