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

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

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

Revision as of 01:29, 19 July 2012

  • ^ - The XOR (exclusive or) operator
 
my $num = 10;
$num = $num ^ 25;
print $num . "\n";