Does anybody disagree with that conclusion?
I certainly don't. An even better example:
Now there's only one expression which always evaluates to the same thing, 1, and yet the sub unintuitively returns !1. Certainly a patch is needed. Whether it should just be a doc patch to perlsub or different behavior should be forced, I don't know.sub foo { 1 for 1 }
-sauoq "My two cents aren't worth a dime.";
In reply to Re^3: "last expression" quiz
by sauoq
in thread "last expression" quiz
by fxn
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |