@hash[0] is a single-element array slice. You'll probably have to post more code, but that looks wrong to me.
Improve your skills with Modern Perl: the free book.
In reply to Re^3: list values of specific hash keys
by chromatic
in thread list values of specific hash keys
by sorenjul
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |