line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
|
2
|
|
|
|
|
|
|
# ABSTRACT: infinite bitbucket |
3
|
|
|
|
|
|
|
|
4
|
|
|
|
|
|
|
use Moo::Role; |
5
|
5
|
|
|
5
|
|
5368
|
|
|
5
|
|
|
|
|
41
|
|
|
5
|
|
|
|
|
34
|
|
6
|
|
|
|
|
|
|
our $VERSION = '1.04'; |
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
use namespace::clean; |
9
|
5
|
|
|
5
|
|
2157
|
|
|
5
|
|
|
|
|
115
|
|
|
5
|
|
|
|
|
69
|
|
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
|
20
|
|
|
|
0
|
0
|
|
with 'Data::Record::Serialize::Role::Encode'; |
21
|
|
|
|
15
|
0
|
|
with 'Data::Record::Serialize::Role::Sink'; |
22
|
|
|
|
0
|
0
|
|
|
23
|
|
|
|
0
|
0
|
|
1; |
24
|
|
|
|
24
|
0
|
|
|
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
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
=pod |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
=for :stopwords Diab Jerius Smithsonian Astrophysical Observatory |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
=head1 NAME |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
Data::Record::Serialize::Encode::null - infinite bitbucket |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
=head1 VERSION |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
version 1.04 |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
=head1 SYNOPSIS |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
use Data::Record::Serialize; |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
my $s = Data::Record::Serialize->new( encode => 'null', ... ); |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
$s->send( \%record ); |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
=head1 DESCRIPTION |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
B<Data::Record::Serialize::Encode::null> is both an encoder and a sink. |
59
|
|
|
|
|
|
|
All records sent using it will disappear. |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
It performs both the L<Data::Record::Serialize::Role::Encode> and |
62
|
|
|
|
|
|
|
L<Data::Record::Serialize::Role::Sink> roles. |
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
=for Pod::Coverage encode |
65
|
|
|
|
|
|
|
send |
66
|
|
|
|
|
|
|
print |
67
|
|
|
|
|
|
|
say |
68
|
|
|
|
|
|
|
close |
69
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
=head1 INTERFACE |
71
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
There are no additional attributes which may be passed to |
73
|
|
|
|
|
|
|
L<< Data::Record::Serialize::new|Data::Record::Serialize/new >>. |
74
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
=head1 SUPPORT |
76
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
=head2 Bugs |
78
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
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 |
80
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
=head2 Source |
82
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
Source is available at |
84
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
https://gitlab.com/djerius/data-record-serialize |
86
|
|
|
|
|
|
|
|
87
|
|
|
|
|
|
|
and may be cloned from |
88
|
|
|
|
|
|
|
|
89
|
|
|
|
|
|
|
https://gitlab.com/djerius/data-record-serialize.git |
90
|
|
|
|
|
|
|
|
91
|
|
|
|
|
|
|
=head1 SEE ALSO |
92
|
|
|
|
|
|
|
|
93
|
|
|
|
|
|
|
Please see those modules/websites for more information related to this module. |
94
|
|
|
|
|
|
|
|
95
|
|
|
|
|
|
|
=over 4 |
96
|
|
|
|
|
|
|
|
97
|
|
|
|
|
|
|
=item * |
98
|
|
|
|
|
|
|
|
99
|
|
|
|
|
|
|
L<Data::Record::Serialize|Data::Record::Serialize> |
100
|
|
|
|
|
|
|
|
101
|
|
|
|
|
|
|
=back |
102
|
|
|
|
|
|
|
|
103
|
|
|
|
|
|
|
=head1 AUTHOR |
104
|
|
|
|
|
|
|
|
105
|
|
|
|
|
|
|
Diab Jerius <djerius@cpan.org> |
106
|
|
|
|
|
|
|
|
107
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
108
|
|
|
|
|
|
|
|
109
|
|
|
|
|
|
|
This software is Copyright (c) 2017 by Smithsonian Astrophysical Observatory. |
110
|
|
|
|
|
|
|
|
111
|
|
|
|
|
|
|
This is free software, licensed under: |
112
|
|
|
|
|
|
|
|
113
|
|
|
|
|
|
|
The GNU General Public License, Version 3, June 2007 |
114
|
|
|
|
|
|
|
|
115
|
|
|
|
|
|
|
=cut |