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;