Help for this page

Select Code to Download


  1. or download this
    my @a = (0,1,2,3,4,5, 6, 7, 8 );
    my @b = (0,2,4,6,8,10,12,14,16);
    ...
    
    print "The arrays share: @matches\n";
    print "Unique elements in \@a: @mismatch\n";
    
  2. or download this
    use Benchmark;
    
    ...
                (warning: too few iterations for a reliable count)
    
    C:\>