say eval join' + ','1e',6;
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
| [reply] [Watch: Dir/Any] [d/l] |
print eval join' + ','1e',6;
Bareword found where operator expected at (eval 1) line 1, near "1e"
(Missing operator before e?)
Did this actually test it, or is it because I'm running Perl 5?
Anyway, print eval join'+0+','1e',6; works okay. Plus, the "+0+" looks nice.
| [reply] [Watch: Dir/Any] [d/l] [select] |
C:\test>perl -Mstrict -wE"say 0+'1e'"
Argument "1e" isn't numeric in addition (+) at -e line 1.
1
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
| [reply] [Watch: Dir/Any] [d/l] |