Just a nit, the unary + doesn't "force scalar context", it actually just causes perl to interpret the next thing as an expression, rather than say, a bareword or a block.

(Nitpicking myself, what is a better word than "thing" when I say "interpret the next thing". Terminal? Token?)

In reply to Re^3: Perl can do it, take 1 (sentence generation) by BUU
in thread Perl can do it, take 1 (sentence generation) by spurperl

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":