File Coverage

blib/lib/Data/Record/Serialize/Sink/null.pm
Criterion Covered Total %
statement 8 8 100.0
branch n/a
condition n/a
subroutine 5 6 83.3
pod 0 3 0.0
total 13 17 76.4


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