line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Message::Passing::Output::Null; |
2
|
2
|
|
|
2
|
|
36229
|
use Moo; |
|
2
|
|
|
|
|
28851
|
|
|
2
|
|
|
|
|
30
|
|
3
|
2
|
|
|
2
|
|
4811
|
use namespace::clean -except => 'meta'; |
|
2
|
|
|
|
|
20003
|
|
|
2
|
|
|
|
|
20
|
|
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
with 'Message::Passing::Role::Output'; |
6
|
|
|
|
|
|
|
|
7
|
1
|
|
|
1
|
1
|
1293
|
sub consume {} |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
1; |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
=head1 NAME |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
Message::Passing::Output::Null - /dev/null for messages |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
=head1 SYNOPSIS |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
message-pass --input STDIN --output Null |
19
|
|
|
|
|
|
|
{"foo": "bar"} |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
# Note noting is printed... |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
=head1 DESCRIPTION |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
Throws away all messages passed to it. |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
=head1 METHODS |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
=head2 consume |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
Takes a message and discards it silently. |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
=head1 SEE ALSO |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
L |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
=head1 SPONSORSHIP |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
This module exists due to the wonderful people at Suretec Systems Ltd. |
40
|
|
|
|
|
|
|
who sponsored its development for its |
41
|
|
|
|
|
|
|
VoIP division called SureVoIP for use with |
42
|
|
|
|
|
|
|
the SureVoIP API - |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
=head1 AUTHOR, COPYRIGHT AND LICENSE |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
See L. |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
=cut |