Login
Add "main" to the default package name exemptions to
authorElliot Shank <perl@galumph.com>
Fri, 3 Oct 2008 11:40:13 +0000 (11:40 +0000)
committerElliot Shank <perl@galumph.com>
Fri, 3 Oct 2008 11:40:13 +0000 (11:40 +0000)
NamingConventions::Capitalization.

lib/Perl/Critic/Policy/NamingConventions/Capitalization.pm

index 12c95e3..810f3e8 100644 (file)
@@ -79,7 +79,7 @@ sub supported_parameters {
         {
             name               => 'package_exemptions',
             description        => 'Package names that are exempt from capitalization rules.  The values here are regexes.',
-            default_string     => $EMPTY,
+            default_string     => 'main',
             behavior           => 'string list',
         },
         {