in reply to Unique with Text::CSV_XS
my %seen; while (my $row = $csv->getline ($fh)) { # WTF do you think chomp is doing here? $seen{pack "ll", $row->[1], $row->[9]}++ and next; # change ll to +reflect types # continue processing ... }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Unique with Text::CSV_XS
by Anonymous Monk on Jan 08, 2010 at 22:15 UTC | |
by Tux (Canon) on Jan 09, 2010 at 09:59 UTC |