It's not
Question: what is the point in writing a tutorial explaining the difference between list and scalar contexts?
Answer: so that people who don't know the difference can gain some enlightenment.
Question: Besides poring over man pages or searching the Internet, what other way is there to gain an understanding of when a list context is implied and when a scalar context is implied
Answer: write a sub that calls wantarray and divine the context directly
Have I made my point?
In reply to Re^5: Mini-Tutorial: Scalar vs List Assignment Operator
by dec
in thread Mini-Tutorial: Scalar vs List Assignment Operator
by ikegami
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |