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