line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Crypt::Affine::Params; |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
$Crypt::Affine::Params::VERSION = '0.13'; |
4
|
|
|
|
|
|
|
$Crypt::Affine::Params::AUTHORITY = 'cpan:MANWAR'; |
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
=head1 NAME |
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
Crypt::Affine::Params - Placeholder for parameters for Crypt::Affine. |
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
=head1 VERSION |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
Version 0.13 |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
=cut |
15
|
|
|
|
|
|
|
|
16
|
6
|
|
|
6
|
|
122
|
use 5.006; |
|
6
|
|
|
|
|
19
|
|
17
|
6
|
|
|
6
|
|
30
|
use strict; use warnings; |
|
6
|
|
|
6
|
|
11
|
|
|
6
|
|
|
|
|
134
|
|
|
6
|
|
|
|
|
33
|
|
|
6
|
|
|
|
|
58
|
|
|
6
|
|
|
|
|
197
|
|
18
|
6
|
|
|
6
|
|
29
|
use Data::Dumper; |
|
6
|
|
|
|
|
11
|
|
|
6
|
|
|
|
|
300
|
|
19
|
|
|
|
|
|
|
|
20
|
6
|
|
|
6
|
|
1643
|
use Type::Library -base, -declare => qw(ZeroOrOne PositiveNum FilePath); |
|
6
|
|
|
|
|
112104
|
|
|
6
|
|
|
|
|
62
|
|
21
|
6
|
|
|
6
|
|
9366
|
use Types::Standard qw(Str); |
|
6
|
|
|
|
|
248210
|
|
|
6
|
|
|
|
|
87
|
|
22
|
6
|
|
|
6
|
|
6784
|
use Type::Utils; |
|
6
|
|
|
|
|
24750
|
|
|
6
|
|
|
|
|
60
|
|
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
declare 'ZeroOrOne', |
25
|
|
|
|
|
|
|
as Str, |
26
|
|
|
|
|
|
|
where { /^[0|1]$/ }, |
27
|
|
|
|
|
|
|
message { "ERROR: Only 0 or 1 allowed." }; |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
declare 'PositiveNum', |
30
|
|
|
|
|
|
|
as Str, |
31
|
|
|
|
|
|
|
where { /^\d+$/ }, |
32
|
|
|
|
|
|
|
message { "ERROR: Positive number only." }; |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
declare 'FilePath', |
35
|
|
|
|
|
|
|
as Str, |
36
|
|
|
|
|
|
|
where { -f $_[0] }, |
37
|
|
|
|
|
|
|
message { "ERROR: Invalid file path." }; |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
=head1 AUTHOR |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
Mohammad S Anwar, C<< >> |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
=head1 REPOSITORY |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
L |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
=head1 BUGS |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
Please report any bugs/feature requests to C or |
50
|
|
|
|
|
|
|
through the web interface at L. |
51
|
|
|
|
|
|
|
I will be notified & then you'll automatically be notified of progress on your bug |
52
|
|
|
|
|
|
|
as I make changes. |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
=head1 SUPPORT |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
You can find documentation for this module with the perldoc command. |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
perldoc Crypt::Affine::Params |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
You can also look for information at: |
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
=over 4 |
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
=item * RT: CPAN's request tracker |
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
L |
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
=item * AnnoCPAN: Annotated CPAN documentation |
69
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
L |
71
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
=item * CPAN Ratings |
73
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
L |
75
|
|
|
|
|
|
|
|
76
|
|
|
|
|
|
|
=item * Search CPAN |
77
|
|
|
|
|
|
|
|
78
|
|
|
|
|
|
|
L |
79
|
|
|
|
|
|
|
|
80
|
|
|
|
|
|
|
=back |
81
|
|
|
|
|
|
|
|
82
|
|
|
|
|
|
|
=head1 LICENSE AND COPYRIGHT |
83
|
|
|
|
|
|
|
|
84
|
|
|
|
|
|
|
Copyright (C) 2011 - 2017 Mohammad S Anwar. |
85
|
|
|
|
|
|
|
|
86
|
|
|
|
|
|
|
This program is free software; you can redistribute it and/or modify it under |
87
|
|
|
|
|
|
|
the terms of the the Artistic License (2.0). You may obtain a copy of the full |
88
|
|
|
|
|
|
|
license at: |
89
|
|
|
|
|
|
|
|
90
|
|
|
|
|
|
|
L |
91
|
|
|
|
|
|
|
|
92
|
|
|
|
|
|
|
Any use, modification, and distribution of the Standard or Modified Versions is |
93
|
|
|
|
|
|
|
governed by this Artistic License.By using, modifying or distributing the Package, |
94
|
|
|
|
|
|
|
you accept this license. Do not use, modify, or distribute the Package, if you do |
95
|
|
|
|
|
|
|
not accept this license. |
96
|
|
|
|
|
|
|
|
97
|
|
|
|
|
|
|
If your Modified Version has been derived from a Modified Version made by someone |
98
|
|
|
|
|
|
|
other than you,you are nevertheless required to ensure that your Modified Version |
99
|
|
|
|
|
|
|
complies with the requirements of this license. |
100
|
|
|
|
|
|
|
|
101
|
|
|
|
|
|
|
This license does not grant you the right to use any trademark, service mark, |
102
|
|
|
|
|
|
|
tradename, or logo of the Copyright Holder. |
103
|
|
|
|
|
|
|
|
104
|
|
|
|
|
|
|
This license includes the non-exclusive, worldwide, free-of-charge patent license |
105
|
|
|
|
|
|
|
to make, have made, use, offer to sell, sell, import and otherwise transfer the |
106
|
|
|
|
|
|
|
Package with respect to any patent claims licensable by the Copyright Holder that |
107
|
|
|
|
|
|
|
are necessarily infringed by the Package. If you institute patent litigation |
108
|
|
|
|
|
|
|
(including a cross-claim or counterclaim) against any party alleging that the |
109
|
|
|
|
|
|
|
Package constitutes direct or contributory patent infringement,then this Artistic |
110
|
|
|
|
|
|
|
License to you shall terminate on the date that such litigation is filed. |
111
|
|
|
|
|
|
|
|
112
|
|
|
|
|
|
|
Disclaimer of Warranty: THE PACKAGE IS PROVIDED BY THE COPYRIGHT HOLDER AND |
113
|
|
|
|
|
|
|
CONTRIBUTORS "AS IS' AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES. THE IMPLIED |
114
|
|
|
|
|
|
|
WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR |
115
|
|
|
|
|
|
|
NON-INFRINGEMENT ARE DISCLAIMED TO THE EXTENT PERMITTED BY YOUR LOCAL LAW. UNLESS |
116
|
|
|
|
|
|
|
REQUIRED BY LAW, NO COPYRIGHT HOLDER OR CONTRIBUTOR WILL BE LIABLE FOR ANY DIRECT, |
117
|
|
|
|
|
|
|
INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING IN ANY WAY OUT OF THE USE |
118
|
|
|
|
|
|
|
OF THE PACKAGE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
119
|
|
|
|
|
|
|
|
120
|
|
|
|
|
|
|
=cut |
121
|
|
|
|
|
|
|
|
122
|
|
|
|
|
|
|
1; # End of Crypt::Affine::Params |