You can only return scalars and lists and (nothing) from subroutines. You can't return arrays or hashes directly, only as lists or references.
In reply to Re^4: returning tied array
by chromatic
in thread returning tied array
by strat
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |