aboutsummaryrefslogtreecommitdiff
path: root/perlcritic
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-09-27 15:53:13 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-09-27 15:53:23 +1300
commit8f3b2a088aaea9661677fd50bcb65a758e45eb34 (patch)
tree169e2e900bbe6b21dfc97e7c8490207841b56519 /perlcritic
parentAllow a few more numeric literals in Perl (diff)
downloaddotfiles-8f3b2a088aaea9661677fd50bcb65a758e45eb34.tar.gz
dotfiles-8f3b2a088aaea9661677fd50bcb65a758e45eb34.zip
Deprecate some ancient Perl variables
Diffstat (limited to 'perlcritic')
-rw-r--r--perlcritic/perlcriticrc4
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 = $# $* $[