# Calculating the exclusive or of "202005" # V= X’32’ .XOR. X’30’ .XOR. X’32’ .XOR. X’30’ .XOR. X’30’ .XOR. X’35’ = X’05’ my $command = '202005'; print "$command length=" . length($command) . "\n"; my $result = substr($command,0,1); for (my $i=1; $i