File Coverage

blib/lib/Data/Record/Serialize/Sink/null.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 4 5 80.0
pod 0 3 0.0
total 10 14 71.4


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