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::TestingAndDebugging::ProhibitNoWarnings"

Perl::Critic::Policy::TestingAndDebugging::ProhibitNoWarnings - Prohibit various flavors of no warnings. River stage three • 133 direct dependents • 408 total dependents

There are good reasons for disabling certain kinds of warnings. But if you were wise enough to "use warnings" in the first place, then it doesn't make sense to disable them completely. By default, any "no warnings" statement will violate this policy....

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

Perl::Critic::Policy::TestingAndDebugging::RequireUseWarnings - Always use warnings. River stage three • 133 direct dependents • 408 total dependents

Using warnings, and paying attention to what they say, is probably the single most effective way to improve the quality of your code. This policy requires that the 'use warnings' statement must come before any other statements except "package", "requ...

PETDANCE/Perl-Critic-1.152 - 17 Oct 2023 04:09:08 UTC
2 results (0.101 seconds)