my ($who, $items) = @_;You seem to expect an array ref in $items, actually, it will be just the second argument (first item of e.g. @gilligan), the rest will be discarded. Why not
then you could map ... @items without needing to dereference.my ($who, @items) = @_;
In reply to Re: Using Dereferencing
by soonix
in thread Using Dereferencing
by catfish1116
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |