Skip Menu |
 
rt.cpan.org will be shut down on March 1st, 2021.

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

Report information
The Basics
Id: 44792
Status: resolved
Worked: 10 min
Priority: 0/
Queue: WWW-Scraper-ISBN

People
Owner: BARBIE [...] cpan.org
Requestors: bkb [...] cpan.org
Cc:
AdminCc:

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



Download (untitled) / with headers
text/plain 493b
The code says if($business_isbn_loaded) { my $isbn_object = Business::ISBN->new($isbn); croak("Invalid ISBN specified.\n") if (!$isbn_object- Show quoted text
>is_valid);
} but this doesn't take account of the case when Business::ISBN->new returns "undefined", which may happen (from documentation): "If the constructor decides it cannot create an object, it returns undef." It's necessary to change the above to if (!$isbn_object || !$isbn_object->is_valid) I hope this bug report is helpful.
Subject: Fixed Business::ISBN undef object
Fixed in 0.26 just released to CPAN


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.