Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
Name: perl-Business-ISSN | Distribution: openSUSE Tumbleweed |
Version: 1.005 | Vendor: openSUSE |
Release: 1.12 | Build date: Sat Feb 19 04:06:07 2022 |
Group: Unspecified | Build host: reproducible |
Size: 17735 | Source RPM: perl-Business-ISSN-1.005-1.12.src.rpm |
Packager: https://bugs.opensuse.org | |
Url: https://metacpan.org/release/Business-ISSN | |
Summary: Perl extension for International Standard Serial Numbers |
* new($issn) The constructor accepts a scalar representing the ISSN. The string representing the ISSN may contain characters other than [0-9xX], although these will be removed in the internal representation. The resulting string must look like an ISSN - the first seven characters must be digits and the eighth character must be a digit, 'x', or 'X'. The string passed as the ISSN need not be a valid ISSN as long as it superficially looks like one. This allows one to use the 'fix_checksum' method. One should check the validity of the ISSN with 'is_valid()' rather than relying on the return value of the constructor. If all one wants to do is check the validity of an ISSN, one can skip the object-oriented interface and use the c<is_valid_checksum()> function which is exportable on demand. If the constructor decides it can't create an object, it returns undef. It may do this if the string passed as the ISSN can't be munged to the internal format. * $obj->checksum Return the ISSN checksum. * $obj->as_string Return the ISSN as a string. A terminating 'x' is changed to 'X'. * $obj->is_valid Returns 1 if the checksum is valid. Returns 0 if the ISSN does not pass the checksum test. The constructor accepts invalid ISSN's so that they might be fixed with 'fix_checksum'. * $obj->fix_checksum Replace the eighth character with the checksum the corresponds to the previous seven digits. This does not guarantee that the ISSN corresponds to the product one thinks it does, or that the ISSN corresponds to any product at all. It only produces a string that passes the checksum routine. If the ISSN passed to the constructor was invalid, the error might have been in any of the other nine positions.
Artistic-2.0
* Sat Feb 19 2022 Tina Müller <timueller+perl@suse.de> - updated to 1.005 see /usr/share/doc/packages/perl-Business-ISSN/Changes 1.005 2022-02-18T02:19:46Z * Refresh distro, fix license issue * Sat Mar 21 2020 <timueller+perl@suse.de> - updated to 1.004 see /usr/share/doc/packages/perl-Business-ISSN/Changes * Sat May 12 2018 coolo@suse.com - updated to 1.003 see /usr/share/doc/packages/perl-Business-ISSN/Changes * Wed Jul 03 2013 coolo@suse.com - initial package 0.91 * created by cpanspec 1.78.06
/usr/lib/perl5/vendor_perl/5.40.0/Business /usr/lib/perl5/vendor_perl/5.40.0/Business/ISSN.pm /usr/share/doc/packages/perl-Business-ISSN /usr/share/doc/packages/perl-Business-ISSN/CITATION.cff /usr/share/doc/packages/perl-Business-ISSN/Changes /usr/share/doc/packages/perl-Business-ISSN/examples /usr/share/doc/packages/perl-Business-ISSN/examples/placeholder.pl /usr/share/licenses/perl-Business-ISSN /usr/share/licenses/perl-Business-ISSN/LICENSE /usr/share/man/man3/Business::ISSN.3pm.gz
Generated by rpm2html 1.8.1
Fabrice Bellet, Fri Nov 1 00:28:36 2024