- or download this
#!/usr/bin/perl
...
print "\t", $_, "\n" foreach (@intersection);
exit;
- or download this
my %temp=map{$_ =>1} @temp;
my %temp2=map{$_=>1} @temp2;
my @non_unique_intersection = grep( $temp{$_}, @temp2 );
print "----------------------\nThe Non-Unique Intersection of Temp and
+ Temp2 Arrays\n";
print "\t", $_, "\n" foreach (@non_unique_intersection);
- or download this
my @non_unique_Lonly = @temp;
for (my $i=0;$i<scalar(@non_unique_Lonly);$i++){
...
} # end-for
print "----------------------\nThe Non-Unique Leftover from Temp\n";
print "\t", $_, "\n" foreach (@non_unique_Lonly);
- or download this
my @non_unique_Lonly = @temp;
my @temp_intersection = @non_unique_intersection;
...
} # end-for
print "----------------------\nThe Non-Unique Leftover from Temp\n";
print "\t", $_, "\n" foreach (@non_unique_Lonly);