/usr/local/perl/lib/site_perl/5.8.5/Perl/Critic/Policy/NamingConventions/ProhibitMixedCaseVars.pm



NAME

Perl::Critic::Policy::NamingConventions::ProhibitMixedCaseVars


DESCRIPTION

Conway's recommended naming convention is to use lower-case words separated by underscores. Well-recognized acronyms can be in ALL CAPS, but must be separated by underscores from other parts of the name.

  my $foo_bar   #ok
  my $foo_BAR   #ok
  my @FOO_bar   #ok
  my %FOO_BAR   #ok
  my $FooBar   #not ok
  my $FOObar   #not ok
  my @fooBAR   #not ok
  my %fooBar   #not ok


SEE ALSO

the Perl::Critic::Policy::NamingConventions::ProhibitMixedCaseSubs manpage


AUTHOR

Jeffrey Ryan Thalhammer <thaljef@cpan.org>


COPYRIGHT

Copyright (c) 2005-2007 Jeffrey Ryan Thalhammer. All rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. The full text of this license can be found in the LICENSE file included with this module.

 /usr/local/perl/lib/site_perl/5.8.5/Perl/Critic/Policy/NamingConventions/ProhibitMixedCaseVars.pm