line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
|
2
|
|
|
|
|
|
|
# ABSTRACT: Types for Data::Record::Serialize |
3
|
|
|
|
|
|
|
|
4
|
|
|
|
|
|
|
use strict; |
5
|
18
|
|
|
18
|
|
121
|
use warnings; |
|
18
|
|
|
|
|
44
|
|
|
18
|
|
|
|
|
559
|
|
6
|
18
|
|
|
18
|
|
104
|
|
|
18
|
|
|
|
|
39
|
|
|
18
|
|
|
|
|
993
|
|
7
|
|
|
|
|
|
|
our $VERSION = '1.04'; |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
use Type::Utils -all; |
10
|
18
|
|
|
18
|
|
8007
|
use Types::Standard qw( ArrayRef Str Enum ); |
|
18
|
|
|
|
|
138459
|
|
|
18
|
|
|
|
|
243
|
|
11
|
18
|
|
|
18
|
|
43803
|
use Type::Library -base, |
|
18
|
|
|
|
|
59
|
|
|
18
|
|
|
|
|
93
|
|
12
|
18
|
|
|
|
|
119
|
-declare => qw[ ArrayOfStr SerializeType ]; |
13
|
18
|
|
|
18
|
|
17181
|
|
|
18
|
|
|
|
|
43
|
|
14
|
|
|
|
|
|
|
use namespace::clean; |
15
|
18
|
|
|
18
|
|
9353
|
|
|
18
|
|
|
|
|
39
|
|
|
18
|
|
|
|
|
180
|
|
16
|
|
|
|
|
|
|
declare ArrayOfStr, |
17
|
|
|
|
|
|
|
as ArrayRef[ Str ]; |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
coerce ArrayOfStr, |
20
|
|
|
|
|
|
|
from Str, q { [ $_ ] }; |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
declare SerializeType, |
23
|
|
|
|
|
|
|
as Enum[ qw( N I S B) ]; |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
# |
26
|
|
|
|
|
|
|
# This file is part of Data-Record-Serialize |
27
|
|
|
|
|
|
|
# |
28
|
|
|
|
|
|
|
# This software is Copyright (c) 2017 by Smithsonian Astrophysical Observatory. |
29
|
|
|
|
|
|
|
# |
30
|
|
|
|
|
|
|
# This is free software, licensed under: |
31
|
|
|
|
|
|
|
# |
32
|
|
|
|
|
|
|
# The GNU General Public License, Version 3, June 2007 |
33
|
|
|
|
|
|
|
# |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
1; |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
=pod |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
=for :stopwords Diab Jerius Smithsonian Astrophysical Observatory |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
=head1 NAME |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
Data::Record::Serialize::Types - Types for Data::Record::Serialize |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
=head1 VERSION |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
version 1.04 |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
=head1 SUPPORT |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
=head2 Bugs |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
Please report any bugs or feature requests to bug-data-record-serialize@rt.cpan.org or through the web interface at: https://rt.cpan.org/Public/Dist/Display.html?Name=Data-Record-Serialize |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
=head2 Source |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
Source is available at |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
https://gitlab.com/djerius/data-record-serialize |
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
and may be cloned from |
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
https://gitlab.com/djerius/data-record-serialize.git |
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
=head1 SEE ALSO |
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
Please see those modules/websites for more information related to this module. |
69
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
=over 4 |
71
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
=item * |
73
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
L<Data::Record::Serialize|Data::Record::Serialize> |
75
|
|
|
|
|
|
|
|
76
|
|
|
|
|
|
|
=back |
77
|
|
|
|
|
|
|
|
78
|
|
|
|
|
|
|
=head1 AUTHOR |
79
|
|
|
|
|
|
|
|
80
|
|
|
|
|
|
|
Diab Jerius <djerius@cpan.org> |
81
|
|
|
|
|
|
|
|
82
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
83
|
|
|
|
|
|
|
|
84
|
|
|
|
|
|
|
This software is Copyright (c) 2017 by Smithsonian Astrophysical Observatory. |
85
|
|
|
|
|
|
|
|
86
|
|
|
|
|
|
|
This is free software, licensed under: |
87
|
|
|
|
|
|
|
|
88
|
|
|
|
|
|
|
The GNU General Public License, Version 3, June 2007 |
89
|
|
|
|
|
|
|
|
90
|
|
|
|
|
|
|
=cut |