From: Simon Ruderich Date: Tue, 3 Sep 2013 01:31:46 +0000 (+0200) Subject: perl/perlcriticrc: Also allow $-. X-Git-Url: https://ruderich.org/simon/gitweb/?p=config%2Fdotfiles.git;a=commitdiff_plain;h=37f15f94a465de3ffc38cf9af695f31be4f4d3ca perl/perlcriticrc: Also allow $-. --- 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 ".. '..' ..".