Changes for version 0.011 - 2015-09-15

  • add Getopt::Std to discouraged modules
  • Fix EmptyReturn to catch more cases
  • Add DeprecatedFeatures policy

Modules

Perl::Critic policies inspired by #perl on freenode IRC
Don't use & to call subroutines
Don't use bareword filehandles other than built-ins
Avoid features that have been deprecated or removed from Perl
Various modules discouraged from use
Don't use $a or $b as variable names outside sort
Don't use each to iterate through a hash
Don't use return with no arguments
Don't use mod_perl to write web applications
Always use the three-argument form of open
Don't use function prototypes
Always use strict and warnings, or a module that imports these
Interpreter-based threads are officially discouraged
Don't write context-sensitive functions using wantarray
Scripts should not use the -w switch on the shebang line
Don't use while with implicit assignment to $_