In this case, "the number of elements produced by the expression on the right hand side of the assignment" is the the scalar-context value of the array, or 3.sub foo { my @a = qw(first second third); my ($a) = @a; };
In reply to Re^2: scalar value of list assignment
by tantalor
in thread scalar value of list assignment
by tantalor
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |