2 results (0.188 seconds)
Perl::Critic::Policy::Modules::RequireEndWithOne - End each module with an explicitly 1; instead of some funky expression. 60 ++

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...

THALJEF/Perl-Critic-1.121   (10 reviews) - 02 Nov 2013 19:14:26 GMT - Search in distribution

Perl::Critic::Policy::Lax::RequireEndWithTrueConst - ending your package with a simple, fun true value is okay 1 ++

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. WARNINGS There are *many* true values that this won't actual...

RJBS/Perl-Critic-Lax-0.011 - 11 Jul 2014 03:41:56 GMT - Search in distribution

Hosting generously
sponsored by Bytemark