/usr/share/perl5/MooseX/UndefTolerant/ApplicationToRole.pm is in libmoosex-undeftolerant-perl 0.19-1.
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 | package MooseX::UndefTolerant::ApplicationToRole;
{
$MooseX::UndefTolerant::ApplicationToRole::VERSION = '0.19';
}
use Moose::Role;
around apply => sub {
my $orig = shift;
my $self = shift;
my ($role1, $role2) = @_;
$role2 = Moose::Util::MetaRole::apply_metaroles(
for => $role2,
role_metaroles => {
application_to_class => [
'MooseX::UndefTolerant::ApplicationToClass',
],
application_to_role => [
'MooseX::UndefTolerant::ApplicationToRole',
],
}
);
$self->$orig( $role1, $role2 );
};
no Moose::Role;
1;
|