Help for this page

Select Code to Download


  1. or download this
    @union = @intersection = @difference = ();
    %count = ();
    ...
      push @{ $count{$element} > 1 ? \@intersection : \@difference
      }, $element;
    }
    
  2. or download this
    use strict;
    
    ...
      retrieve($id);
      $have_local{$id}++;
    }