The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
# local defaults for perlcritic
severity = 3
verbose = 4

[ControlStructures::ProhibitCascadingIfElse]
max_elsif = 8

[-ControlStructures::ProhibitNegativeExpressionsInUnlessAndUntilConditions]

[-ErrorHandling::RequireCarping]

[Modules::ProhibitExcessMainComplexity]
max_mccabe = 32

[NamingConventions::ProhibitAmbiguousNames]
forbid = last set left right no abstract contract record second

[RegularExpressions::ProhibitComplexRegexes]
max_characters = 70

[RegularExpressions::RequireExtendedFormatting]
minimum_regex_length_to_complain_about = 75

[Subroutines::ProhibitExcessComplexity]
max_mccabe = 40

[-Subroutines::ProhibitSubroutinePrototypes]

[Subroutines::RequireArgUnpacking]
short_subroutine_statements = 2

[TestingAndDebugging::ProhibitNoStrict]
allow = vars subs refs

[TestingAndDebugging::ProhibitNoWarnings]
allow_with_category_restriction = 1

[TestingAndDebugging::ProhibitProlongedStrictureOverride]
statements = 12

[-ValuesAndExpressions::ProhibitConstantPragma]

[Variables::ProhibitReusedNames]
allow = $self