like in $foo=\@bar, $foo is not the length of @bar!
IIRC in Perl 6 there is less confusion, since the scalar of an array is the array-reference.
Cheers Rolf
In reply to Re^5: Scalar Vs. List context
by LanX
in thread Scalar Vs. List context
by biohisham
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |