Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

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

Report information
The Basics
Id: 46077
Status: resolved
Priority: 0/
Queue: Text-CSV-Encoded

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

Bug Information
Severity: Unimportant
Broken in: 0.08
Fixed in: (no value)



Subject: Bad error message if mistyped options are used
The error message could be improved if a mistyped key is used in Text::CSV::Encoded's constructor. Currently it looks like following: # sample my $csv = Text::CSV::Encoded->new({mistyped_key => "\012"}); # output Can't call method "coder_class" on an undefined value at /usr/local/share/perl/5.8.8/Text/CSV/Encoded.pm line 60. Possibly it's best to change the constructor call to die on errors, with the diagnosis output: my $self = $class->SUPER::new( $opt ) or die "" . $class->error_diag; Regards, Slaven
Fixed in version 0.09. Thanks,