Help for this page

Select Code to Download


  1. or download this
    intersection( \%array1, \%wisconsin, \%rockford )
    
  2. or download this
    push @comp, { map { $_ => 1 } @array1 };
    
  3. or download this
    use strict;
    use List::Compare;
    ...
    my $lc = List::Compare->new( @comp );
    
    my @intersection = $lc->get_intersection;