use strict; my $num1 = 12; my $num2 = 9; print $num1 & $num2, "\n"; print $num1 | $num2, "\n"; print $num1 ^ $num2, "\n";