/usr/share/perl5/Message/Passing/Output/STDOUT.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 44 45 46 47 48 49 50 51 52 | package Message::Passing::Output::STDOUT;
use Moo;
use namespace::clean -except => 'meta';
with 'Message::Passing::Role::Output';
sub consume {
my $self = shift;
local $|=1;
print STDOUT shift() . "\n";
}
1;
=head1 NAME
Message::Passing::Output::STDOUT - STDOUT output
=head1 SYNOPSIS
message-pass --input STDIN --output STDOUT
{"foo": "bar"}
{"foo":"bar"}
=head1 DESCRIPTION
Output messages to STDOUT
=head1 METHODS
=head2 consume
Consumes a message by printing it, followed by \n
=head1 SEE ALSO
L<Message::Passing>
=head1 SPONSORSHIP
This module exists due to the wonderful people at Suretec Systems Ltd.
<http://www.suretecsystems.com/> who sponsored its development for its
VoIP division called SureVoIP <http://www.surevoip.co.uk/> for use with
the SureVoIP API -
<http://www.surevoip.co.uk/support/wiki/api_documentation>
=head1 AUTHOR, COPYRIGHT AND LICENSE
See L<Message::Passing>.
=cut
|