line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Message::Passing::Filter::Decoder::Bzip2; |
2
|
1
|
|
|
1
|
|
461
|
use Moo; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
8
|
|
3
|
1
|
|
|
1
|
|
464
|
use Compress::Bzip2; |
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
4
|
|
|
|
|
|
|
use namespace::clean -except => 'meta'; |
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
with 'Message::Passing::Role::Filter'; |
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
sub filter { |
9
|
|
|
|
|
|
|
my ($self, $message) = @_; |
10
|
|
|
|
|
|
|
Compress::Bzip2::memBunzip($message); |
11
|
|
|
|
|
|
|
} |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
1; |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
=head1 NAME |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
Message::Passing::Decoder::Bzip2 - Use Compress:Bzip2 to encrypt messages |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
=head1 SYNOPSIS |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
message-pass --input STDIN --decoder Bzip2 \ |
24
|
|
|
|
|
|
|
--output ZeroMQ --output_options '...' |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
=head1 DESCRIPTION |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
Uncompresses messages with Compress::Bzip2. |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
=head1 METHODS |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
=head2 filter |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
Uncompresses the message |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
=head1 SEE ALSO |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
=over |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
=item L |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
=back |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
=head1 AUTHOR, COPYRIGHT & LICENSE |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
See L. |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
=cut |