in reply to Re^4: Mini-Tutorial: Scalar vs List Assignment Operator
in thread Mini-Tutorial: Scalar vs List Assignment Operator

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?

  • Comment on Re^5: Mini-Tutorial: Scalar vs List Assignment Operator

Replies are listed 'Best First'.
Re^6: Mini-Tutorial: Scalar vs List Assignment Operator
by ikegami (Patriarch) on Aug 22, 2009 at 03:46 UTC

    huh?

    Are you saying I wrote a tutorial on contexts? I didn't, but someone else did over here.

    Are you saying you're writing a tutorial on contexts? All the power to you, but maybe should start a new thread (where people will actually see it) instead of placing it in a reply to some unrelated post.