Perl::Critic::Policy::Lax::ProhibitLeadingZeros::ExceptChmod - Perl::Critic::Policy::Lax::ProhibitLeadingZeros::ExceptChmod documentation


Perl-Critic-Lax documentation  | view source Contained in the Perl-Critic-Lax distribution.

Index


NAME

Top

Perl::Critic::Policy::Lax::ProhibitLeadingZeros::ExceptChmod

DESCRIPTION

Top

This is a stupid mistake:

  my $x = 1231;
  my $y = 2345;
  my $z = 0032;

This is not:

  chmod 0600, "secret_file.txt";

AUTHOR

Top

Ricardo SIGNES <rjbs@cpan.org>

Adapted from ValuesAndExpressions::ProhibitLeadingZeros by Jeffrey Ryan Thalhammer.

COPYRIGHT

Top


Perl-Critic-Lax documentation  | view source Contained in the Perl-Critic-Lax distribution.