brian d foy > Business-ISBN-Data > Business::ISBN::Data

Download:
Business-ISBN-Data-20140910.002.tar.gz

Dependencies

Annotate this POD

Related Modules

Business::ISBN
Date::Manip
more...
By perlmonks.org

CPAN RT

Open  1
View/Report Bugs
Module Version: 20140910.002   Source  

NAME ^

Business::ISBN::Data - data pack for Business::ISBN

SYNOPSIS ^

see Business::ISBN

DESCRIPTION ^

You don't need to load this module yourself in most cases. Business::ISBN will load it when it loads.

These data are generated from the RangeMessage.xml file provided by the ISBN Agency. You can retrieve this yourself at https://www.isbn-international.org/range_file_generation. This file is included as part of the distribution and should be installed at ~lib/Business/ISBN/Data/RangeMessage.xml.

If you want to use a different RangeMessage.xml file, you can set the ISBN_RANGE_MESSAGE environment variable to the alternate location before you load Business::ISBN. This way, you can use the latest (or even earlier) data without having to install something new or wait for an update to this module.

If the default RangeMessage.xml or your alternate one is not available, the module falls back to data included in Data.pm. However, that data is likely to be older data. If it does not find that file, it looks for RangeMessage.xml in the current directory.

The data are in %Business::ISBN::country_data (although the "country" part is historical). If you want to see where the data are from, check $Business::ISBN::country_data{_source}.

SOURCE AVAILABILITY ^

This module lives in the Github repository with Business::ISBN:

        git://github.com/briandfoy/business--isbn.git

If you have something to add, create a fork on Github and send a pull request.

AUTHOR ^

brian d foy, <bdfoy@cpan.org>

Yakov Shafranovich updated the data in October 2008.

Daniel Jakubik updated the data in July 2012.

Markus Spann suggested looking for RangeMessage.xml in the current directory to make it work with Perl app bundlers.

COPYRIGHT AND LICENSE ^

Copyright (c) 2002-2014, brian d foy, All Rights Reserved.

You may redistribute this under the same terms as Perl itself.

syntax highlighting: