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


in reply to CSV tab-delimited not space-delimited

I'd try csv_allow_whitespace = 1; like this:
#!/usr/bin/perl use strict; use warnings; use DBD::CSV; my $csvh = DBI->connect("DBI:CSV:f_dir=.; csv_sep_char=\t;csv_eol=\n;") or die($DBI::errstr); $csvh->{csv_allow_whitespace} = 1; $csvh->{'csv_tables'}{'csv'} = { file => 'file.csv' };

Replies are listed 'Best First'.
Re^2: CSV tab-delimited not space-delimited
by mellon85 (Monk) on Jun 25, 2010 at 10:16 UTC
    that's exactly what i did, and set the variable even after the table initialization, just to test even insane cases