What am I missing?
Note that the node title mentions "scalar context". This is what you are missing. Compare your two foo()s when called in a scalar context.
In reply to Re^5: What should be returned in scalar context? (missing?)
by tye
in thread What should be returned in scalar context?
by tilly
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |