The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Business::xISBN - access the xISBN service

SYNOPSIS

        use Business::ISBN;
        use Business::xISBN;

        # maybe you don't care what it is as long as everything works
        my $isbn = Business::ISBN->new( $ARGV[0] );
        my @xisbns = $isbn->xisbn;

DESCRIPTION

This is a mixin for Business::ISBN. Although it looks like it has a different package name, it really declares methods to Business::ISBN. This means that you can use this module and not change code from the 2.x major version of Business::ISBN.

This is not a complete interface to xISBN. It merely retrieves related ISBNs. If someone wants to expand this to handle other parts of the API, send a pull request!

Methods

Loading this module adds these methods to the Business::ISBN class:

xisbn

In scalar context, returns an anonymous array of related ISBNs using xISBN. In list context, returns a list. It does not include the original ISBN.

This feature uses Mojo::UserAgent or LWP::UserAgent depending on which one it finds first.

SOURCE AVAILABILITY

This source is in Github:

    https://github.com/briandfoy/business-xisbn

AUTHOR

brian d foy <bdfoy@cpan.org>

Contributors

Mohammad S Anwar (manwar)

COPYRIGHT AND LICENSE

Copyright © 2016-2018, brian d foy <bdfoy@cpan.org>. All rights reserved.

You may redistribute this under the terms of the Artistic License 2.