1Perl::Critic::Policy::LUasxe:rP:eRCreolqn:ut:irCrirebiEutntidecWd:i:tPPheoTrlrliuceDyCo:oc:nuLsmatex(n:3t:)aRteiqounireEndWithTrueConst(3)
2
3
4
6 Perl::Critic::Policy::Lax::RequireEndWithTrueConst - ending your
7 package with a simple, fun true value is okay
8
10 version 0.014
11
13 This policy behaves like
14 Perl::Critic::Policy::Modules::RequireEndWithOne, but allows frivolity
15 like ending with "Club sandwich".
16
17 The return value must be the final statement of the module.
18
20 This library should run on perls released even a long time ago. It
21 should work on any version of perl released in the last five years.
22
23 Although it may work on older versions of perl, no guarantee is made
24 that the minimum required version will not be increased. The version
25 may be increased for any reason, and there is no promise that patches
26 will be accepted to lower the minimum required perl.
27
29 There are many true values that this won't actually accept. The
30 biggest issue is returning lists or other comma-delimited values.
31 While it would be nice to support these, they're not the sort of club
32 sandwich with which I usually end my code, so I'm not likely to code
33 the fix myself.
34
35 Patches welcome.
36
38 Ricardo Signes <cpan@semiotic.systems>
39
41 This software is copyright (c) 2022 by Ricardo Signes
42 <cpan@semiotic.systems>.
43
44 This is free software; you can redistribute it and/or modify it under
45 the same terms as the Perl 5 programming language system itself.
46
47
48
49perl v5.36.0 Perl::Cri2t0i2c3:-:0P1o-l2i0cy::Lax::RequireEndWithTrueConst(3)