| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
package Data::Record::Serialize::Types; |
|
2
|
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
# ABSTRACT: Types for Data::Record::Serialize |
|
4
|
|
|
|
|
|
|
|
|
5
|
22
|
|
|
22
|
|
216583
|
use v5.12; |
|
|
22
|
|
|
|
|
80
|
|
|
6
|
22
|
|
|
22
|
|
133
|
use strict; |
|
|
22
|
|
|
|
|
37
|
|
|
|
22
|
|
|
|
|
507
|
|
|
7
|
22
|
|
|
22
|
|
98
|
use warnings; |
|
|
22
|
|
|
|
|
92
|
|
|
|
22
|
|
|
|
|
2084
|
|
|
8
|
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
our $VERSION = '2.03'; |
|
10
|
|
|
|
|
|
|
|
|
11
|
22
|
|
|
22
|
|
11243
|
use Type::Utils -all; |
|
|
22
|
|
|
|
|
223423
|
|
|
|
22
|
|
|
|
|
301
|
|
|
12
|
22
|
|
|
22
|
|
47563
|
use Types::Standard qw( ArrayRef Str Enum ); |
|
|
22
|
|
|
|
|
64768
|
|
|
|
22
|
|
|
|
|
103
|
|
|
13
|
22
|
|
|
22
|
|
51919
|
use Type::Library -base, -declare => qw[ ArrayOfStr SerializeType ]; |
|
|
22
|
|
|
|
|
60
|
|
|
|
22
|
|
|
|
|
129
|
|
|
14
|
|
|
|
|
|
|
|
|
15
|
22
|
|
|
22
|
|
11368
|
use namespace::clean; |
|
|
22
|
|
|
|
|
26295
|
|
|
|
22
|
|
|
|
|
352
|
|
|
16
|
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
declare ArrayOfStr, as ArrayRef [Str]; |
|
18
|
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
coerce ArrayOfStr, from Str, q { [ $_ ] }; |
|
20
|
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
declare SerializeType, as Enum [qw( N I S B)]; |
|
22
|
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
# |
|
24
|
|
|
|
|
|
|
# This file is part of Data-Record-Serialize |
|
25
|
|
|
|
|
|
|
# |
|
26
|
|
|
|
|
|
|
# This software is Copyright (c) 2017 by Smithsonian Astrophysical Observatory. |
|
27
|
|
|
|
|
|
|
# |
|
28
|
|
|
|
|
|
|
# This is free software, licensed under: |
|
29
|
|
|
|
|
|
|
# |
|
30
|
|
|
|
|
|
|
# The GNU General Public License, Version 3, June 2007 |
|
31
|
|
|
|
|
|
|
# |
|
32
|
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
1; |
|
34
|
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
__END__ |