diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2017-09-27 15:53:13 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2017-09-27 15:53:23 +1300 |
commit | 8f3b2a088aaea9661677fd50bcb65a758e45eb34 (patch) | |
tree | 169e2e900bbe6b21dfc97e7c8490207841b56519 /perlcritic | |
parent | Allow a few more numeric literals in Perl (diff) | |
download | dotfiles-8f3b2a088aaea9661677fd50bcb65a758e45eb34.tar.gz dotfiles-8f3b2a088aaea9661677fd50bcb65a758e45eb34.zip |
Deprecate some ancient Perl variables
Diffstat (limited to 'perlcritic')
-rw-r--r-- | perlcritic/perlcriticrc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/perlcritic/perlcriticrc b/perlcritic/perlcriticrc index c3fda080..3bc92cdd 100644 --- a/perlcritic/perlcriticrc +++ b/perlcritic/perlcriticrc @@ -14,3 +14,7 @@ add_exceptions = inet4 inet6 ipv4 ipv6 # and also 100 (for calculating percentages) [ValuesAndExpressions::ProhibitMagicNumbers] allowed_values = 0..9 100 + +# These are all explicitly listed as deprecated in perlvar +[Variables::ProhibitEvilVariables] +variables = $# $* $[ |