Perl::Critic::Policy::NamingConventions::ProhibitMixedCaseVars3pm
Write "$my_variable = 42" instead of "$myvariable = 42".
Affiliation
This Policy is part of the core Perl::Critic distribution.
Overview
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 #okmy $foo_BAR #okmy @FOO_bar #okmy %FOO_BAR #okmy $FooBar #not okmy $FOObar #not okmy @fooBAR #not okmy %fooBar #not ok
Configuration
This Policy is not configurable except for the standard options.