in reply to Re^4: (almost) foldl
in thread (almost) foldl
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.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^6: (almost) foldl
by BrowserUk (Patriarch) on Jun 08, 2011 at 21:34 UTC | |
by Grimy (Pilgrim) on Jun 08, 2011 at 21:40 UTC |
In Section
Obfuscated Code