Skip Menu |

This queue is for tickets about the Text-CSV_XS CPAN distribution.

Report information
The Basics
Id: 110941
Status: resolved
Priority: 0/
Queue: Text-CSV_XS

People
Owner: Nobody in particular
Requestors: DBOOK [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 1.17
Fixed in: 1.21



Subject: csv() function has misleading documentation for method call interface
The csv() function is callable as a method, as is briefly documented: my $csv = Text::CSV_XS->new (); my $aoa = $csv->csv (in => "file.csv"); # ignore object attributes However this is misleading. I believe it means that attributes *for* the object (such as eol) passed to the method will be ignored, and only the calling object's existing attributes will be used (this is what appears to happen). But it is more likely to be interpreted that the object itself is ignored. I think it is worth clarifying the intended behavior.
I agree. Documentation amended for the upcoming version.