1Perl::Critic::Policy::MUosdeurleCPsoe:nr:tlRr:ei:qbCuuritiretediEcnP:de:WrPilotlhDiOocncyeu:(m:3eM)notdautlieosn::RequireEndWithOne(3)
2
3
4
6 Perl::Critic::Policy::Modules::RequireEndWithOne
7
9 All files included via "use" or "require" must end with a true value to
10 indicate to the caller that the include was successful. The standard
11 practice is to conclude your .pm files with "1;", but some authors like
12 to get clever and return some other true value like "return "Club sand‐
13 wich";". We cannot tolerate such frivolity! OK, we can, but we don't
14 recommend it since it confuses the newcomers.
15
17 Chris Dolan "cdolan@cpan.org"
18
19 Some portions cribbed from Perl::Critic::Policy::Modules::RequireEx‐
20 plicitPackage.
21
23 Copyright (c) 2005-2007 Chris Dolan and Jeffrey Ryan Thalhammer. All
24 rights reserved.
25
26 This program is free software; you can redistribute it and/or modify it
27 under the same terms as Perl itself. The full text of this license can
28 be found in the LICENSE file included with this module.
29
30
31
32perl v5.8.8 Perl::C2r0i0t7i-c0:3:-P2o0licy::Modules::RequireEndWithOne(3)