Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    $hits{$_} = 1 for @chars1;
    ++$hits{$_} for keys {map {$_ => 1} @chars2};
    print $_ for grep {$_ eq ' ' || $hits{$_}++ == 1} @chars1, @chars2;
    
  2. or download this
    CLI TY ND