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.013
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 There are many true values that this won't actually accept. The
21 biggest issue is returning lists or other comma-delimited values.
22 While it would be nice to support these, they're not the sort of club
23 sandwich with which I usually end my code, so I'm not likely to code
24 the fix myself.
25
26 Patches welcome.
27
29 Ricardo Signes <rjbs@cpan.org>
30
32 This software is copyright (c) 2017 by Ricardo Signes <rjbs@cpan.org>.
33
34 This is free software; you can redistribute it and/or modify it under
35 the same terms as the Perl 5 programming language system itself.
36
37
38
39perl v5.28.1 Perl::Cri2t0i1c7:-:0P3o-l1i3cy::Lax::RequireEndWithTrueConst(3)