| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
|
|
2
|
|
|
|
|
|
|
# ABSTRACT: Types for Data::Record::Serialize |
|
3
|
|
|
|
|
|
|
|
|
4
|
|
|
|
|
|
|
use strict; |
|
5
|
18
|
|
|
18
|
|
120
|
use warnings; |
|
|
18
|
|
|
|
|
42
|
|
|
|
18
|
|
|
|
|
524
|
|
|
6
|
18
|
|
|
18
|
|
92
|
|
|
|
18
|
|
|
|
|
43
|
|
|
|
18
|
|
|
|
|
852
|
|
|
7
|
|
|
|
|
|
|
our $VERSION = '1.03'; # TRIAL |
|
8
|
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
use Type::Utils -all; |
|
10
|
18
|
|
|
18
|
|
7671
|
use Types::Standard qw( ArrayRef Str Enum ); |
|
|
18
|
|
|
|
|
134230
|
|
|
|
18
|
|
|
|
|
193
|
|
|
11
|
18
|
|
|
18
|
|
41326
|
use Type::Library -base, |
|
|
18
|
|
|
|
|
51
|
|
|
|
18
|
|
|
|
|
84
|
|
|
12
|
18
|
|
|
|
|
100
|
-declare => qw[ ArrayOfStr SerializeType ]; |
|
13
|
18
|
|
|
18
|
|
15817
|
|
|
|
18
|
|
|
|
|
50
|
|
|
14
|
|
|
|
|
|
|
use namespace::clean; |
|
15
|
18
|
|
|
18
|
|
8928
|
|
|
|
18
|
|
|
|
|
45
|
|
|
|
18
|
|
|
|
|
165
|
|
|
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.03 |
|
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 |