This file is indexed.

/usr/share/perl5/MouseX/Getopt/Strict.pm is in libmousex-getopt-perl 0.37-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 MouseX::Getopt::Strict;
# ABSTRACT: only make options for attrs with the Getopt metaclass

use Mouse::Role;

with 'MouseX::Getopt';

around '_compute_getopt_attrs' => sub {
    my $next = shift;
    my ( $class, @args ) = @_;
    grep {
        $_->does("MouseX::Getopt::Meta::Attribute::Trait")
    } $class->$next(@args);
};

no Mouse::Role;

1;

=head1 NAME
MouseX::Getopt::Strict - only make options for attrs with the Getopt metaclass

=head1 DESCRIPTION

This is an stricter version of C<MouseX::Getopt> which only processes the
attributes if they explicitly set as C<Getopt> attributes. All other attributes
are ignored by the command line handler.

=cut