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

Difference between revisions of "Perl/Basics/Boolean Logic/Bitwise Manipulations/NOT"

From NetSec
Jump to: navigation, search
(Created page with "* '''~''' - The '''NOT''' operator {{code|text=<source lang="perl"> my $num = 10; $num = ~$num; print $num . "\n"; </source>}}")
 
 
(No difference)

Latest revision as of 01:28, 19 July 2012

  • ~ - The NOT operator
 
my $num = 10;
$num = ~$num;
print $num . "\n";