In perl, that leading type indicator indicates the context. You want $distri{$_} = []; since you're assigning a scalar
-Paul
In reply to Re: Function composing a hash of arrays.
by jettero
in thread Function composing a hash of arrays.
by dislimit
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |