/usr/lib/perl5/Squirrel/Role.pm is in libmouse-perl 0.97-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 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 | package Squirrel::Role;
use strict;
use warnings;
use base qw(Squirrel);
sub _choose_backend {
if ( $INC{"Moose/Role.pm"} ) {
return {
backend => 'Moose::Role',
import => \&Moose::Role::import,
unimport => \&Moose::Role::unimport,
}
}
else {
require Mouse::Role;
return {
backend => 'Mouse::Role',
import => \&Mouse::Role::import,
unimport => \&Mouse::Role::unimport,
}
}
}
1;
__END__
=head1 NAME
Squirrel::Role - Use Mouse::Role, unless Moose::Role is already loaded. (DEPRECATED)
=head1 SYNOPSIS
use Squirrel::Role;
=head1 DEPRECATION
C<Squirrel::Role> is deprecated. C<Any::Moose> provides the same functionality,
but better. :)
=head1 SEE ALSO
L<Any::Moose>
=cut
|