Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Business-ISBN CPAN distribution.

Report information
The Basics
Id: 52430
Status: resolved
Priority: 0/
Queue: Business-ISBN

People
Owner: Nobody in particular
Requestors: armbrecht [...] hbz-nrw.de
Cc:
AdminCc:

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



Subject: Wrong Documentation in Business::ISBN
Date: Fri, 4 Dec 2009 15:08:57 +0100
To: bug-Business-ISBN [...] rt.cpan.org
From: Martin Armbrecht <armbrecht [...] hbz-nrw.de>
Dear developer of Business::ISBN, I came across an error in the documentation of the OO-interface of Business::ISBN to be seen on http://search.cpan.org/~bdfoy/Business-ISBN-2.05/lib/ISBN.pm It reads ---8<--- The constructor attempts to determine the group code and the publisher code. If these data cannot be determined, the constructor sets $obj->is_valid to something other than GOOD_ISBN. An object is still returned and it is up to the program to check $obj->is_valid for one of five values (which may be exported on demand). The actual values of these symbolic versions are the same as those from previous versions of this module which used literal values. --->8--- A look at the code revealed that "sub is_valid()" actually returns either 1 or undef. For the mentioned codes "sub error()" has to be called. Would be great if you could fix that. Thanks in advance, and thanks of course for writing the module in the first place. Regards Martin -- Martin Armbrecht hbz - Hochschulbibliothekszentrum des Landes NRW, Gruppe Portale Tel: (+49)(0)221 - 400 75 277 http://www.hbz-nrw.de
On Fri Dec 04 09:09:32 2009, armbrecht@hbz-nrw.de wrote: Show quoted text
> Dear developer of Business::ISBN, > > I came across an error in the documentation of the OO-interface of > Business::ISBN to be seen on > http://search.cpan.org/~bdfoy/Business-ISBN-2.05/lib/ISBN.pm
This will be fixed in 2.06. Thanks,