From 37f15f94a465de3ffc38cf9af695f31be4f4d3ca Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Tue, 3 Sep 2013 03:31:46 +0200 Subject: [PATCH 1/1] perl/perlcriticrc: Also allow $-. --- perl/perlcriticrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl/perlcriticrc b/perl/perlcriticrc index ce49d50..6fb1f06 100644 --- a/perl/perlcriticrc +++ b/perl/perlcriticrc @@ -54,7 +54,7 @@ exclude_functions = print # IMHO punctuation variables are more readable than their English counterparts # (and faster in some cases). So allow the ones I use often. [Variables::ProhibitPunctuationVars] -allow = $0 $! $? $. $@ $/ $" $+ +allow = $0 $! $? $. $@ $/ $" $+ $- # Allow the usage of ".." when '..' occurs inside the string, e.g. in strings # like ".. '..' ..". -- 2.45.2