in reply to Re^3: wantarray - surprise behaviour
in thread wantarray - surprise behaviour
Thanks to all for your help fellow monks!
Sorry, ikegami, I knew as I was writing that, that it wasn't worded very well.
But anyway...
So it's the fact that the blah() call is in a list, that gives the function list context, and therefore, wantarray returns true.
TheEnigma
|
|---|