Ricardo SIGNES > Perl-Critic-Lax-0.009 > Perl::Critic::Policy::Lax::ProhibitLeadingZeros::ExceptChmod

Download:
Perl-Critic-Lax-0.009.tar.gz

Dependencies

Annotate this POD

Website

CPAN RT

Open  0
View/Report Bugs
Module Version: 0.009   Source   Latest Release: Perl-Critic-Lax-0.011

NAME ^

Perl::Critic::Policy::Lax::ProhibitLeadingZeros::ExceptChmod - leading zeroes are okay as the first arg to chmod

VERSION ^

version 0.009

DESCRIPTION ^

This is a stupid mistake:

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

This is not:

  chmod 0600, "secret_file.txt";

AUTHOR ^

Ricardo Signes <rjbs@cpan.org>

COPYRIGHT AND LICENSE ^

This software is copyright (c) 2012 by Ricardo Signes <rjbs@cpan.org>.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

syntax highlighting: