1CHECKDIGITS(1)        User Contributed Perl Documentation       CHECKDIGITS(1)
2
3
4

NAME

6       checkdigits - check or generate check digits
7

VERSION

9       This document describes checkdigits v1.3.3
10

SYNOPSIS

12         checkdigits [Options] command [[number] ...]
13
14         options:
15
16          -algorithm alg - use this algorithm
17
18         commands:
19
20          check           - check validity of number containing checkdigit
21          checkdigit      - return checkdigit belonging to number
22          complete        - return number completed with checkdigit
23          list_algorithms - list all known algorithms
24          describe        - describe the given algorithms
25

DESCRIPTION

27       This is a command line program that may be used to compute any
28       checkdigit known by the perl module Algorithm::CheckDigits.
29

OPTIONS AND COMMANDS

31   Options
32       -algorithm alg
33
34       Compute checkdigits according to algorithm alg. Instead of providing
35       the algorithm with this option, you may choose to rename the program to
36       the name of the algorithm or to "checkdigits-" followed by the name of
37       the algorithm.
38
39       You must provide the algorithm with any of these means or the program
40       will not compute any checkdigit.
41
42   Commands
43       check
44
45       checkdigit
46
47       complete
48
49       When called with this command, the program will take the number compute
50       the appropriate checkdigits and return the complete number with
51       checkdigits.
52
53       describe
54
55       Called with this command, the program will list the algorithm handles
56       given on the command line with a short description or the word
57       "unknown" for any unknown algorithm. See command list_algorithms for a
58       list of known algorithms.
59
60       list_algorithms
61
62       Called with this command, the program will list all known algorithms
63       together with a short description and then exit.
64

DIAGNOSTICS

CONFIGURATION AND ENVIRONMENT

67       At the moment the program doesn't recognise any environment variables.
68
69       The algorithm to use may be predefined by renaming the program to the
70       name of the algorithm or to "checkdigits-" followed by the name of the
71       algorithm.
72

AUTHOR

74       Mathias Weidner "mamawe@cpan.org"
75
77       Copyright (c) 2010-2020, Mathias Weidner "mamawe@cpan.org".  All rights
78       reserved.
79
80       This module is free software; you can redistribute it and/or modify it
81       under the same terms as Perl itself. See perlartistic.
82

DISCLAIMER OF WARRANTY

84       BECAUSE THIS SOFTWARE IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
85       FOR THE SOFTWARE, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT
86       WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER
87       PARTIES PROVIDE THE SOFTWARE "AS IS" WITHOUT WARRANTY OF ANY KIND,
88       EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
89       WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE
90       ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE SOFTWARE IS WITH
91       YOU. SHOULD THE SOFTWARE PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL
92       NECESSARY SERVICING, REPAIR, OR CORRECTION.
93
94       IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
95       WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
96       REDISTRIBUTE THE SOFTWARE AS PERMITTED BY THE ABOVE LICENCE, BE LIABLE
97       TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL, OR
98       CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
99       SOFTWARE (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
100       RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
101       FAILURE OF THE SOFTWARE TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
102       SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
103       DAMAGES.
104
105
106
107perl v5.34.0                      2022-01-20                    CHECKDIGITS(1)
Impressum