/usr/share/perl5/strictures/extra.pm is in libstrictures-perl 2.000002-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 | package strictures::extra;
use strict;
use warnings FATAL => 'all';
sub import {
$ENV{PERL_STRICTURES_EXTRA} = 1;
}
sub unimport {
$ENV{PERL_STRICTURES_EXTRA} = 0;
}
1;
__END__
=head1 NAME
strictures::extra - enable or disable strictures additional checks
=head1 SYNOPSIS
no strictures::extra;
# will not enable indirect, multidimensional, or bareword filehandle checks
use strictures;
=head1 DESCRIPTION
Enable or disable strictures additional checks, preventing checks for C<.git>
or other VCS directories.
Equivalent to setting the C<PERL_STRICTURES_EXTRA> environment variable.
=head1 AUTHORS
See L<strictures> for authors.
=head1 COPYRIGHT AND LICENSE
See L<strictures> for the copyright and license.
=cut
|