/usr/share/perl5/Message/Passing/Filter/Encoder/Gzip.pm is in libmessage-passing-perl 0.116-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 | package Message::Passing::Filter::Encoder::Gzip;
use Moo;
use Compress::Zlib;
use namespace::clean -except => 'meta';
with 'Message::Passing::Role::Filter';
sub filter {
my ($self, $message) = @_;
Compress::Zlib::memGzip($message);
}
1;
=head1 NAME
Message::Passing::Filter::Encoder::Gzip - Compresses messages with Compress::Zlib
=head1 SYNOPSIS
message-pass --input STDIN --encoder Gzip \
--output ZeroMQ --output_options '...'
=head1 DESCRIPTION
Compresses messages with Compress::Zlib.
=head1 METHODS
=head2 filter
Compresses the message
=head1 SEE ALSO
=over
=item L<Message::Passing::Role::Filter>
=back
=cut
|