Business::ISSN - Online Linux Manual PageSection : 3
Updated : 2022-01-20
Source : perl v5.34.0
Note : User Contributed Perl Documentation
NAMEBusiness::ISSN − Perl extension for International Standard Serial Numbers
SYNOPSIS use Business::ISSN;
$issn_object = Business::ISSN−>new('1456−5935');
$issn_object = Business::ISSN−>new('14565935');
# print the ISSN (with hyphen)
print $issn_object−>as_string;
# check to see if the ISSN is valid
$issn_object−>is_valid;
#fix the ISSN checksum. BEWARE: the error might not be
#in the checksum!
$issn_object−>fix_checksum;
#EXPORTABLE FUNCTIONS
use Business::ISSN qw( is_valid_checksum );
#verify the checksum
if( is_valid_checksum('01234567') ) { ... }
DESCRIPTIONnew($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.
EXPORTABLE FUNCTIONSSome functions can be used without the object interface. These do not use object technology behind the scenes. is_valid_checksum('01234567') Takes the ISSN string and runs it through the checksum comparison routine. Returns 1 if the ISSN is valid, 0 otherwise.
AUTHORCurrently maintained by brian d foy <brian.d.foy@gmail.com>. Original module by Sami Poikonen, based on Business::ISBN by brian d foy. This module is released under the terms of the Perl Artistic License.
COPYRIGHT AND LICENSECopyright © 1999−2018, brian d foy <bdfoy@cpan.org>. All rights reserved. You may redistribute this under the terms of the Artistic License 2.0. 0
Johanes Gumabo
Data Size : 10,136 byte
man-Business::ISSN.3pmBuild : 2024-12-05, 20:55 :
Visitor Screen : x
Visitor Counter ( page / site ) : 2 / 169,406
Visitor ID : :
Visitor IP : 18.190.253.224 :
Visitor Provider : AMAZON-02 :
Provider Position ( lat x lon ) : 39.962500 x -83.006100 : x
Provider Accuracy Radius ( km ) : 1000 :
Provider City : Columbus :
Provider Province : Ohio , : ,
Provider Country : United States :
Provider Continent : North America :
Visitor Recorder : Version :
Visitor Recorder : Library :
Online Linux Manual Page : Version : Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page : Library : lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page : Library : lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base : Version : Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base : Library : lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36
Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.
ERROR : Need New Coding : (parse_manual_page_|249|Business::ISSN.3pm|36/37|el══─{─══.|.el══─{─══. ds -- \|\(em\|
) (htmlprn|149|Business::ISSN.3pm|36/37|.el══─{─══. ds -- — |.el══─{─══. ds -- \|\(em\|
) (parse_manual_page_|249|Business::ISSN.3pm|43|br══─}─══|'br══─}─══
) (htmlprn|149|Business::ISSN.3pm|43|'br══─}─══ |'br══─}─══
)