Search results for "Frivolity"
Perl::Critic::Policy::Modules::RequireEndWithOne - End each module with an explicitly 1; instead of some funky expression.
All files included via "use" or "require" must end with a true value to indicate to the caller that the include was successful. The standard practice is to conclude your .pm files with "1;", but some authors like to get clever and return some other t...
PETDANCE/Perl-Critic-1.152 - 17 Oct 2023 04:09:08 UTC - Search in distribution
Perl::Critic::Policy::Lax::RequireEndWithTrueConst - ending your package with a simple, fun true value is okay
This policy behaves like Perl::Critic::Policy::Modules::RequireEndWithOne, but allows frivolity like ending with "Club sandwich". The return value must be the final statement of the module....
RJBS/Perl-Critic-Lax-0.014 - 31 Dec 2022 19:02:48 UTC - Search in distribution