Or even:
sub differing_positions { my @c = unpack('C*', $_[0] ^ $_[1]) ; return grep $c[$_], (0..$#c) ; }
In reply to Re^3: How do i do a direct comparison of an array of strings?
by gone2015
in thread How do i do a direct comparison of an array of strings?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |