Help for this page

Select Code to Download


  1. or download this
    say for do {                    # <-- mixed paradigms --------
       my %seen;                    # <-- reinventing the wheel  |
    ...
       map  { ( split m{;} )[ 1 ] } # too much logic, but that's nitpickin
    +g
       <$inFH>;
       };'
    
  2. or download this
    use List::Util qw(uniqstr);
    say join "\n", 
    ...
       map  { $_->[0] }
       map  { [ split m{;} ] }
       <$inFH>;