/usr/share/perl5/Message/Passing/Role/HasHostnameAndPort.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 | package Message::Passing::Role::HasHostnameAndPort;
use Moo::Role;
use MooX::Types::MooseLike::Base qw/ Str Int /;
use namespace::clean -except => 'meta';
requires '_default_port';
has hostname => (
is => 'ro',
isa => Str,
required => 1,
);
has port => (
is => 'ro',
isa => Int,
builder => '_default_port',
);
1;
=head1 NAME
Message::Passing::Role::HasHostnameAndPort
=head1 DESCRIPTION
Adds a C<hostname> and a C<port> attributes to your class.
=head1 METHODS
=head2 hostname
=head2 port
=head1 AUTHOR, COPYRIGHT AND LICENSE
See L<Message::Passing>.
=cut
|