So, then, [scalar[ also returns a list in list context?
Yes, a one-element list.
(BTW, @x is an array, not a one element list.)
You're right. I misworded that sentence and have corrected it.
In reply to Re^7: 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: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |