Re: [rt.cpan.org #76276] support 0-column input tables?
[email protected] (Reinier Post)
| Newsgroups | gmane.comp.lang.perl.modules.dbi.sybase.devel |
|---|---|
| Message-ID | <[email protected]> |
Op do 05 april 2012 om 10:02:35 (+0200) schreef [email protected] (Jens Rehsack): > > I have included the devel list to see how others think > > So did I - good suggestion. But I replied in RT - details there. Summary: + a 0-column CSV table with headers still has a(n empty) header line; DBD::CSV reads such a file just fine + DBD::CSV never accepts an empty file, not even when told not to read a header line; it errors out on getline() because it tries to read one anyway (DBD::CSV line 433). -- Reinier