The Perl Advent Calendar needs more articles for 2022. Submit your idea today!

Search results for "module:Perl::Critic::Policy::TestingAndDebugging::ProhibitNoWarnings"

Perl::Critic::Policy::TestingAndDebugging::ProhibitNoWarnings - Prohibit various flavors of no warnings. River stage three • 131 direct dependents • 386 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.140 - 24 Mar 2021 03:09:35 UTC

Perl::Critic::Policy::TestingAndDebugging::RequireUseWarnings - Always use warnings. River stage three • 131 direct dependents • 386 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.140 - 24 Mar 2021 03:09:35 UTC
2 results (0.066 seconds)