@mjdominus I've no idea what it'll print, is it syntactically correct?
-
-
-
@a_weird_handle It is; it compiles and executes.
- View other replies
-
@mjdominus Sorry, but it doesn't work for me, https://gist.github.com/Sweet-kid/de3c61834703b227313d … - View other replies
-
@a_weird_handle
@mjdominus you added strict. It was not in his program -
@rjbs yep, that's what I said that it'll work without strict, but I still do not get it!@mjdominus -
@a_weird_handle
@rjbs@mjdominus I'd be surprised (and impressed) if anyone got it without touching their keyboard first. Layers of gotchas. -
@pjcjohnson @a_weird_handle@rjbs I would be *shocked* if someone guessed correctly without trying it. -
@mjdominus@pjcjohnson@rjbs I've given up, no ideas, will appreciate you three if you'll explain it :) - Show more
-
-
-
@mjdominus with or without 'use warnings; use strict'? :) -
@rsrchboy Exactly as I said. Obviously it'll fail under 'strict subs'.
-
-
-
@mjdominus hm. "1", I think. (he said, possibly embarrassing himself to the world at large) -
@rsrchboy Interesting. (And not correct.) Most people guess "true". Why "1"? - View other replies
-
@mjdominus Nuts. It seemed the logic was moot, and print() would force ("string") into scalar context via some vestigial parametrization...
-
-
-
@mjdominus It doesn’t print anything, at least for me. -
@mwiik Right! Why not? - View other replies
-
@mjdominus You’re the expert :-) otoh, I dunno why I would ever write that in the first place. Perhaps your#perlSucks explains why…
-
-
-
@mjdominus Ran it w/ 'perl -MO=Terse' to note that first bareword two is fh which has yet to be opened. Or, what@scrottie wrote earlier. - View other replies
-
...
@mjdominus Just replace the first bareword two with STD(OUT|ERR) then to observe the truth. -
...
@mjdominus besides barewords, the code also featured unary + to serve as misdirection. Nice.
-
-
@mjdominus "Argument "two" isn't numeric in numeric eq". Wait, what?
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
Mark Jason Dominus
Upasana
Ricardo SIGNES
Paul Johnson
Michael Wiik
parv
(((Josh Juran)))