Skip to content
This repository
Fetching contributors…

Cannot retrieve contributors at this time

file 27 lines (20 sloc) 0.486 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
#!/usr/bin/perl

# Copyright 2002-2013, Paul Johnson (paul@pjcj.net)

# This software is free. It is licensed under the same terms as Perl itself.

# The latest version of this software should be available from my homepage:
# http://www.pjcj.net

use strict;
use warnings;

my $i = 1;
my $j = 0;

for my $y (0, 1, 1, 1)
{
    for my $z (0, 0, 1)
    {
        my $x = $y ^ $z;
        $x = ($y xor $z);

        my $p = ($i xor $y);
        $p = ($j xor $y);
        $p ^= $y;
    }
}
Something went wrong with that request. Please try again.