Questions about this topic? Sign up to ask in the talk tab.

Perl/Basics/Boolean Logic/Bitwise Manipulations/NOT

From NetSec
Revision as of 03:53, 16 July 2012 by AlizaLorenzo (Talk | contribs) (Created page with "* '''~''' - The '''NOT''' operator {{code|text=<source lang="perl"> my $num = 10; $num = ~$num; print $num . "\n"; </source>}}")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
  • ~ - The NOT operator
 
my $num = 10;
$num = ~$num;
print $num . "\n";