Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

file 37 lines (27 sloc) 1.252 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
severity = 3

# Some methods (like $cache->get()) are only meant to be called in scalar context,
# so really should always return undef rather than the empty list.
[-Subroutines::ProhibitExplicitReturnUndef]

# Constants are necessary for optimal performance - some users may not have Readonly::XS
[-ValuesAndExpressions::ProhibitConstantPragma]

# These are just too restrictive IMO
[-Subroutines::RequireArgUnpacking]
[-Subroutines::RequireFinalReturn]
[-NamingConventions::ProhibitAmbiguousNames]

# Necessary for too many test classes - at some point would consider turning off just for test classes
[-Modules::ProhibitMultiplePackages]

# Jury's still out on these
[-RegularExpressions::RequireExtendedFormatting]

# Unfortunately, this will mistakenly hit on anon hash references
[-ValuesAndExpressions::ProhibitCommaSeparatedStatements]

# Exception needed for references to $CHI::Driver::TestTime
[Variables::ProhibitPackageVars]
packages = CHI::Driver

# Necessary for generating named subroutines
[TestingAndDebugging::ProhibitNoStrict]
allow = refs

# Default too short
[RegularExpressions::ProhibitComplexRegexes]
max_characters = 100

# Theoretically I like this, but ultimately caused too many exceptions
[-ErrorHandling::RequireCarping]
Something went wrong with that request. Please try again.