What's wrong with the notion of a List in Scalar Context ?
There are many ways to produce a list in Perl, but there is no general rule for the result of evaluating a list in scalar context. There is a general rule for the result of evaluating an array in scalar context, which is why it's important to distinguish between lists and arrays.
In reply to Re: If you believe in Lists in Scalar Context, Clap your Hands
by chromatic
in thread If you believe in Lists in Scalar Context, Clap your Hands
by gone2015
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |