| 1 |
=pod |
| 2 |
|
| 3 |
=encoding utf8 |
| 4 |
|
| 5 |
=for HTML <a href="https://www.github.com/briandfoy/business-isbn-data/actions?query=workflow%3Amacos"><img src="https://www.github.com/briandfoy/business-isbn-data/workflows/macos/badge.svg"></a> |
| 6 |
|
| 7 |
=for HTML <a href="https://www.github.com/briandfoy/business-isbn-data/actions?query=workflow%3Aubuntu"><img src="https://www.github.com/briandfoy/business-isbn-data/workflows/ubuntu/badge.svg"></a> |
| 8 |
|
| 9 |
=for HTML <a href="https://www.github.com/briandfoy/business-isbn-data/actions?query=workflow%3Awindows"><img src="https://www.github.com/briandfoy/business-isbn-data/workflows/windows/badge.svg"></a> |
| 10 |
|
| 11 |
=for HTML <a href='https://ci.appveyor.com/project/briandfoy/business-isbn-data'><img src='https://ci.appveyor.com/api/projects/status/v9isunqajl3h3ftf' /></a> |
| 12 |
|
| 13 |
=for HTML <a href='https://coveralls.io/github/briandfoy/business-isbn-data?branch=master'><img src='https://coveralls.io/repos/github/briandfoy/business-isbn-data/badge.svg?branch=master' alt='Coverage Status' /></a> |
| 14 |
|
| 15 |
=for HTML <a href="https://github.com/briandfoy/business-isbn-data/blob/master/LICENSE"><img src="https://img.shields.io/cpan/l/Business-ISBN-Data.svg" /></a> |
| 16 |
|
| 17 |
=for HTML <a href="http://www.metacpan.org/module/Business::ISBN::Data"><img src="https://img.shields.io/cpan/v/Business-ISBN-Data.svg" /></A> |
| 18 |
|
| 19 |
=head1 The Business::ISBN::Data module |
| 20 |
|
| 21 |
B<Version 20191107 changed the internal data structure. You need |
| 22 |
Business::ISBN 3.005 to use this new data structure. Installing |
| 23 |
the right Business::ISBN with cpan should update this for you. However, |
| 24 |
installing this module by itself will not update Business::ISBN for |
| 25 |
you>. |
| 26 |
|
| 27 |
This is the I<README> for the L<Business::ISBN::Data> Perl module. You're probably |
| 28 |
looking at this because you don't know where else to find what you're |
| 29 |
looking for. Read this once and you might never have to read one again |
| 30 |
for any Perl module. |
| 31 |
|
| 32 |
=head2 Documentation |
| 33 |
|
| 34 |
To read about L<Business::ISBN::Data>, look at the embedded documentation |
| 35 |
in the module itself. Inside the distribution, you can format it |
| 36 |
with L<perldoc|http://perldoc.perl.org/perldoc.html>: |
| 37 |
|
| 38 |
% perldoc lib/Business/ISBN/Data.pm |
| 39 |
|
| 40 |
If you have already installed the module, you can specify the module |
| 41 |
name instead of the file location: |
| 42 |
|
| 43 |
% perldoc Business::ISBN::Data |
| 44 |
|
| 45 |
You can read the documentation and inspect the meta data on |
| 46 |
L<MetaCPAN|http://www.metacpan.org/module/Business::ISBN::Data>. |
| 47 |
|
| 48 |
The standard module documentation has example uses in the SYNOPSIS |
| 49 |
section, but you can also look in the I<examples/> directory (if it's |
| 50 |
there), or look at the test files in I<t/>. |
| 51 |
|
| 52 |
=head2 Installation |
| 53 |
|
| 54 |
Usually you don't need to install this module on its own because |
| 55 |
L<Business::ISBN> will do it for you. You should always try this |
| 56 |
first: |
| 57 |
|
| 58 |
% cpan Business::ISBN |
| 59 |
|
| 60 |
However, this module might update with the latest data even though |
| 61 |
L<Business::ISBN> did not change. In that case, you can install this |
| 62 |
directly: |
| 63 |
|
| 64 |
% cpan Business::ISBN::Data |
| 65 |
% cpanm Business::ISBN::Data |
| 66 |
|
| 67 |
You can also install directly from the distribution directory, which |
| 68 |
will also install the dependencies: |
| 69 |
|
| 70 |
% cpan . |
| 71 |
% cpanm . |
| 72 |
|
| 73 |
You could install just this module manually: |
| 74 |
|
| 75 |
% perl Makefile.PL |
| 76 |
% make |
| 77 |
% make test |
| 78 |
% make install |
| 79 |
|
| 80 |
You probably don't want to do that unless you're fiddling with the |
| 81 |
module and only want to run the tests without installing anything. |
| 82 |
|
| 83 |
=head2 Source location |
| 84 |
|
| 85 |
The meta data, such as the source repository and bug tracker, is in |
| 86 |
I<Makefile.PL> or the I<META.*> files it creates. You can find that on |
| 87 |
those CPAN web interfaces, but you can also look at files directly in |
| 88 |
the source repository: L<https://github.com/briandfoy/business-isbn-data> |
| 89 |
|
| 90 |
If you find a problem, file a ticket in the L<issue |
| 91 |
tracker|https://github.com/briandfoy/business-isbn-data/issues>. |
| 92 |
|
| 93 |
There are also backup repositories hosted on other services. These |
| 94 |
reflect the state of the main repo and exist only for redundancy: |
| 95 |
|
| 96 |
=over 4 |
| 97 |
|
| 98 |
=item * L<https://bitbucket.com/briandfoy/business-isbn-data> |
| 99 |
|
| 100 |
=item * L<https://codeberg.org/briandfoy/business-isbn-data> |
| 101 |
|
| 102 |
=item * L<https://gitlab.com/briandfoy/business-isbn-data> |
| 103 |
|
| 104 |
=back |
| 105 |
|
| 106 |
=head2 GitHub Attestation |
| 107 |
|
| 108 |
Starting with v20240716.001, Business::ISBN::Data now uses |
| 109 |
L<GitHub Attestations|https://github.blog/2024-05-02-introducing-artifact-attestations-now-in-public-beta/>, |
| 110 |
which allow you to verify that the archive file you have was made from |
| 111 |
the official repo. |
| 112 |
|
| 113 |
You need a GitHub account and the L<gh tool|https://github.com/larsks/ghcli>. |
| 114 |
|
| 115 |
# download the distro file from GitHub, MetaCPAN, or a CPAN mirror |
| 116 |
$ gh auth login |
| 117 |
...follow instructions... |
| 118 |
$ gh attestation verify Business-ISBN-Data-20240716.001.tar.gz --owner briandfoy |
| 119 |
|
| 120 |
=head2 Getting help |
| 121 |
|
| 122 |
Although I'm happy to hear from module users in private email, |
| 123 |
that's the best way for me to forget to do something. |
| 124 |
|
| 125 |
Besides the issue trackers, you can find help at |
| 126 |
L<Perlmonks|http://www.perlmonks.org> or |
| 127 |
L<Stackoverflow|http://www.stackoverflow.com>, both of which have many |
| 128 |
competent Perlers who can answer your question, almost in real time. |
| 129 |
They might not know the particulars of this module, but they can help |
| 130 |
you diagnose your problem. |
| 131 |
|
| 132 |
You might like to read L<brian's Guide to Solving Any Perl |
| 133 |
Problem|https://briandfoy.github.io/brians-guide-to-solving-any-perl-problem/>. |
| 134 |
|
| 135 |
=head2 Copyright and License |
| 136 |
|
| 137 |
You should have received a I<LICENSE> file, but the license is also noted |
| 138 |
in the module files. About the only thing you can't do is pretend that |
| 139 |
you wrote code that you didn't. |
| 140 |
|
| 141 |
=head2 Good luck! |
| 142 |
|
| 143 |
Enjoy, |
| 144 |
|
| 145 |
brian d foy, [email protected] |
| 146 |
|
| 147 |
=cut |