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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.