The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Test::ISBN - Check International Standard Book Numbers

SYNOPSIS

        use Test::More tests => 1;
        use Test::ISBN;
        
        isbn_ok( $isbn );
        

DESCRIPTION

FUNCTIONS

isbn_ok( STRING )

Ok is the STRING is a valid ISBN, in any format that Business::ISBN accepts. This function only checks the checksum. The publisher and country codes might be invalid even though the checksum is valid.

isbn_country_ok( STRING, COUNTRY )

Ok is the STRING is a valid ISBN and its country code is the same as COUNTRY.

isbn_publisher_ok( STRING, PUBLISHER )

Ok is the STRING is a valid ISBN and its publisher code is the same as PUBLISHER.

AUTHOR

brian d foy, <brian d foy>

COPYRIGHT

Copyright 2002 brian d foy, All rights reserved.

You can use this module under the same terms as Perl itself.