[RndTbl] Funny comment

Trevor Cordes trevor at tecnopolis.ca
Sat Feb 28 01:38:17 CST 2015


I had to confirm what $x=!!$y meant in perl.  Remarkably, typing !! or 
"!!" or \!\! into google gives you nothing.  Had to use English.

Got this:

http://stackoverflow.com/questions/2168406/what-does-double-exclamation-point-mean

The +42 answer is quite good.  Exec summary: !! is good for cleaning vars 
into 1 (true) or '' (false), which is important to keep warnings from 
complaining about undef vars.

Anyhow, read the comments in the +42 answer.  Hehehe.

Let the flamewars begin!


More information about the Roundtable mailing list