Sure, but you can also argue that 1, 2, 3, isn't a list of values but a list of expressions. Is this a list:
my $x = ($y = 1), ($z = 2);How about this?
s{\\}{\\\\}g, printOr this?
foo => scalar param( 'foo' )It's difficult to tell without seeing the context... which makes me wonder if lists do exist, or if we should talk about the value of expressions instead.
In reply to Re^5: 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: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |