Help for this page

Select Code to Download


  1. or download this
    sub aeq {
        my ($first, $second, @comp) = @_;
    ...
        @comp = grep {$first->[$_] ne $second->[$_]} 0..$#$first;
        return not @comp;
    }
    
  2. or download this
    sub aeq {
        my ($first, $second, @comp) = @_;
    ...
            @comp :
            @comp == @$first;
    }