Sat May 12 19:02:53 2007ask [...] develooper.com - Ticket created
Subject:
can't call as_isbn13 on an already isbn13 object
Date:
Sat, 12 May 2007 16:02:08 -0700
To:
bug-Business-ISBN [...] rt.cpan.org
From:
Ask Bjørn Hansen <ask [...] develooper.com>
$ ./combust/bin/perl -w -MBusiness::ISBN -e '$i=Business::ISBN->new
("9789607771278")->as_isbn13; print(($i ? "" : "not ") . "ok\n")'
Can't call method "fix_checksum" on an undefined value at /pkg/
packages/perl-5.8.8/lib/site_perl/5.8.8/Business/ISBN13.pm line 75.
Fri May 18 15:22:36 2007bdfoy [...] cpan.org - Correspondence added
This wasn't a problem with Business::ISBN but with a new publisher code
range added for Greece (960). I've updated Business::ISBN::Data (1.14 on
its way to CPAN).
I'll have to think about the interface for handling errors and reporting
the situation better, but in general you should make sure you have a
valid object before you try to do anything with it :)
Fri May 18 15:22:39 2007The RT System itself - Status changed from 'new' to 'open'
Fri May 18 15:22:42 2007bdfoy [...] cpan.org - Status changed from 'open' to 'resolved'