/usr/share/perl5/Message/Passing/Exception.pm is in libmessage-passing-perl 0.116-4.
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 | package Message::Passing::Exception;
use Moo::Role;
use namespace::clean -except => 'meta';
sub as_hash {
return { %{ $_[0] }, class => ref($_[0]) }
}
sub pack {
$_[0]->as_hash;
}
1;
=head1 NAME
Message::Passing::Exception - Base role for Message::Passing exceptions
=head1 METHODS
=head2 as_hash
=head2 pack
Synonyms, which return a flattened (to a hash) object.
=head1 AUTHOR, COPYRIGHT AND LICENSE
See L<Message::Passing>.
=cut
|