http://www.perlmonks.org?node_id=871296


in reply to sv_upgrade error

OK, I'm a dumbass. OpenOffice changed the separator from "|" to "," when I edited the csv file. so I changed sep_char to "," (which I guess is the default anyway) and No Errors! :)

Replies are listed 'Best First'.
Re^2: sv_upgrade error
by aquarium (Curate) on Nov 14, 2010 at 23:34 UTC
    yep..you need some sanity code, to make sure you have the right number of fields on each line, before trying to process them. pipe char is very useful as a separator in text files, as it usually doesn't conflict with anything, so no need for quoting values etc.
    the hardest line to type correctly is: stty erase ^H