1 ################################################################################
4 # Revision: $Revision: $
5 # Description: Perlcritic defaults
6 # Author: Andrew@DeFaria.com
7 # Created: Fri Jan 23 11:08:55 MST 2009
11 # (c) Copyright 2000-2009, Andrew@DeFaria.com, all rights reserved.
13 ################################################################################
16 # We think these are really important, so always load them
17 [TestingAndDebugging::RequireUseStrict]
20 [TestingAndDebugging::RequireUseWarnings]
23 # We like function prototypes
24 [-Subroutines::ProhibitSubroutinePrototypes]
26 # Not every regex needs to be fully explained
27 [RegularExpressions::RequireExtendedFormatting]
28 minimum_regex_length_to_complain_about = 20
30 # Backticks only in non void contexts
31 [InputOutput::ProhibitBacktickOperators]
32 only_in_void_context = 1
34 # Reading from STDIN should be OK
35 [-InputOutput::ProhibitExplicitStdin]
37 # Cascading elsif's are not that difficult to understand. Switch is not
38 # that much easier. And switch is not available without a CPAN module install
39 # which is not always available
40 [ControlStructures::ProhibitCascadingIfElse]