Skip to content

Commit

Permalink
rename
Browse files Browse the repository at this point in the history
  • Loading branch information
jonswar committed Oct 21, 2009
1 parent 2f00151 commit 1dc7d03
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .perlcriticrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
severity = 3

# 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]
[-InputOutput::RequireBriefOpen]

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

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

# 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]

# Unfortunately this breaks on 'open( my $fh, '<', $file )'
# [-Variables::ProhibitUnusedVariables]
1 change: 1 addition & 0 deletions .perltidyrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
-noll

0 comments on commit 1dc7d03

Please sign in to comment.