- or download this
use strict;
use warnings;
...
print "$_->[$i] " if $_->[$i] and not $seen{$_->[$i]}++;
}
}
- or download this
ant bee cat 1 3 cow 5 rat 7 dog 9 2 4 6 8 X
- or download this
my @arrays = \( @array1, @array2, @array3 );
my %seen;
...
$i++;
redo unless $count >= @arrays;
}