http://qs321.pair.com?node_id=1186412


in reply to Re^5: Mapping & Hash Issues
in thread Mapping & Hash Issues

The record number (1840) is inaccurate because it's counting the map file as well. You might want to put this line just above the start of the second while loop:
$csv = Text::CSV->new({ auto_diag=>1, binary=>1, eol=>"\n" });
(Yes, that's almost a copy of a previous line, but note that the my is missing.)