The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

Search results for "module:Perl::Critic::Policy::Variables::RequireInitializationForLocalVars"

Perl::Critic::Policy::Variables::RequireInitializationForLocalVars - Write local $foo = $bar; instead of just local $foo;. River stage three • 133 direct dependents • 408 total dependents

Most people don't realize that a localized copy of a variable does not retain its original value. Unless you initialize the variable when you "local"-ize it, it defaults to "undef". If you want the variable to retain its original value, just initiali...

PETDANCE/Perl-Critic-1.152 - 17 Oct 2023 04:09:08 UTC

Perl::Critic::Pulp - some add-on perlcritic policies River stage two • 5 direct dependents • 18 total dependents

This is a collection of add-on policies for "Perl::Critic". They're under a "pulp" theme plus other themes according to their purpose (see "POLICY THEMES" in Perl::Critic). Bugs CodeLayout::ProhibitFatCommaNewline Avoid newline before "=>" not quotin...

KRYDE/Perl-Critic-Pulp-99 - 28 Feb 2021 08:34:14 UTC
2 results (0.064 seconds)