Help for this page

Select Code to Download


  1. or download this
    print "Index: $_ => \@a: $a[$_], \@b: $b[$_]\n" 
        for grep { $a[$_] != $b[$_] } 0 .. $#a;
    
  2. or download this
    foreach( 0 .. $#a ) {
        print "Index: $_ => \@a: $a[$_], \@b: $b[$_]\n" if $a[$_] != $b[$_
    +];
    }