Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -w
    use strict;
    ...
    for (keys %repeats) {
        push @diff, $_ unless $repeats{$_} > 1;
    }
    
  2. or download this
    #!/usr/bin/perl -w
    use strict;
    ...
    
    @diff{ @list1 } = undef;
    delete @diff{ @list2 };