1Perl::Critic::Policy::MUosoesre:C:oPnPrteorrhilib:bu:itCterLdiatzPiyecBr:ul:iPlDodol(ci3uc)mye:n:tMaotoisoen::ProhibitLazyBuild(3)
2
3
4
6 Perl::Critic::Policy::Moose::ProhibitLazyBuild - Avoid lazy_build
7
9 version 1.05
10
12 " lazy_build =" 1 > seemed like a good idea at the time, but it creates
13 problems (see here
14 <https://metacpan.org/pod/distribution/Moose/lib/Moose/Manual/BestPractices.pod#Avoid-
15 lazy_build>). This policy will complain if it finds lazy_build => 1 in
16 your code.
17
19 This policy is part of Perl::Critic::Moose.
20
22 Bugs may be submitted through the RT bug tracker
23 <http://rt.cpan.org/Public/Dist/Display.html?Name=Perl-Critic-Moose>
24 (or bug-perl-critic-moose@rt.cpan.org <mailto:bug-perl-critic-
25 moose@rt.cpan.org>).
26
27 I am also usually active on IRC as 'drolsky' on "irc://irc.perl.org".
28
30 · Elliot Shank <perl@galumph.com>
31
32 · Dave Rolsky <autarch@urth.org>
33
35 This software is copyright (c) 2008 - 2016 by Elliot Shank.
36
37 This is free software; you can redistribute it and/or modify it under
38 the same terms as the Perl 5 programming language system itself.
39
40
41
42perl v5.28.0 Perl:2:0C1r6i-t0i9c-:1:2Policy::Moose::ProhibitLazyBuild(3)