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: 39051
Status: resolved
Priority: 0/
Queue: Business-ISBN

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

Bug Information
Severity: Normal
Broken in: 2.03_01
Fixed in: (no value)



Subject: Typos in SYNOPSIS code example
Hi, In the SYNOPSIS you have $isbn when giving examples of retrieving the group code an publisher code, but I think it should say $isbn_object. I have attached a patch to fix these two mistakes. Well done to the students of a class of mine for pointing this out, after I included Business::ISBN in a course exercise :-) regards, oliver.
Subject: business-isbn.patch
diff -urN Business-ISBN-2.03_01.orig/lib/ISBN.pm Business-ISBN-2.03_01/lib/ISBN.pm --- Business-ISBN-2.03_01.orig/lib/ISBN.pm 2007-10-27 08:43:55.000000000 +0100 +++ Business-ISBN-2.03_01/lib/ISBN.pm 2008-09-06 17:34:06.000000000 +0100 @@ -32,9 +32,9 @@ print $isbn_object->as_string([]); #print the group code or publisher code - print $isbn->group_code; + print $isbn_object->group_code; - print $isbn->publisher_code; + print $isbn_object->publisher_code; #check to see if the ISBN is valid $isbn_object->is_valid;
I've modified the docs in the development sources and the fix will be in the next release. Thanks