Perl abomination of the moment var
2015-07-28 18:20:03.104213+02 by Dan Lyke 3 comments
Perl abomination of the moment:
$var ^= 0x2 if ($var+0 & 2);
We need a time machine so we can go back and smack the author of that.
2015-07-28 18:20:03.104213+02 by Dan Lyke 3 comments
Perl abomination of the moment:
$var ^= 0x2 if ($var+0 & 2);
We need a time machine so we can go back and smack the author of that.
[ related topics: Interactive Drama Perl Open Source hubris ]
comments in descending chronological order (reverse):
#Comment Re: Perl abomination of the momentvar made: 2015-08-17 20:30:16.507867+02 by: Dan Lyke
And if you read my comment to that article, it should be:
$var &= ~2;
(Modulo some undef behavior, which is stuff that should be re-factored out of this code at a higher level.)
#Comment Re: Perl abomination of the momentvar made: 2015-08-14 19:04:49.492236+02 by: meuon
Ok.. Now I understand it after reading the article linked above.
#Comment Re: Perl abomination of the momentvar made: 2015-08-03 23:51:54.409193+02 by: Dan Lyke
http://www.learning-perl.com/2...08/sound-out-complex-statements/
We will not edit your comments. However, we may delete your comments, or cause them to be hidden behind another link, if we feel they detract from the conversation. Commercial plugs are fine, if they are relevant to the conversation, and if you don't try to pretend to be a consumer. Annoying endorsements will be deleted if you're lucky, if you're not a whole bunch of people smarter and more articulate than you will ridicule you, and we will leave such ridicule in place.
Flutterby™ is a trademark claimed by
Dan Lyke for the web publications at www.flutterby.com and www.flutterby.net.