- or download this
foreach my $i1 (@LongListOfIntegers) {
($i1 & $_)==1 and undef $MatchedIntegers{$i1}{$_}
foreach @LongListOfIntegers;
}
- or download this
foreach my $i1 (@LongListOfIntegers) {
use integer;
($i1 & $_) == 1 and undef $MatchedIntegers{$i1}{$_}
foreach @LongListOfIntegers;
}
- or download this
@LongListOfIntegers = grep $_ &1, @LongListOfIntegers;
foreach my $i1 (@LongListOfIntegers) {
...
($i1 & $_) == 1 and undef $MatchedIntegers{$i1}{$_}
foreach @LongListOfIntegers;
}
- or download this
@LongListOfIntegers = grep $_ &1, @LongListOfIntegers;
...
($v & $_) == 1 and undef $MatchedIntegers{$i1}{$_}
foreach @LongListOfIntegers[ $i1+1 .. $#LongListOfIntegers ];
}