1Perl::Critic::Policy::TUiscesr::CPornotPhreiirbbliu:tt:LeCodrnigPtLeiircnl:e:sDP(oo3cl)uimceyn:t:aTtiicosn::ProhibitLongLines(3)
2
3
4
6 Perl::Critic::Policy::Tics::ProhibitLongLines - 80 x 40 for life!
7
9 version 0.010
10
12 Please keep your code to about eighty columns wide, the One True
13 Terminal Width. Going over that occasionally is okay, but only once in
14 a while.
15
16 This policy always throws a violation for extremely long lines. It
17 will also throw a violation if there are too many lines that are
18 slightly longer than the preferred maximum length. If a only few lines
19 exceed the preferred maximum width, they're let slide and only
20 extremely long lines are violations.
21
23 This library should run on perls released even a long time ago. It
24 should work on any version of perl released in the last five years.
25
26 Although it may work on older versions of perl, no guarantee is made
27 that the minimum required version will not be increased. The version
28 may be increased for any reason, and there is no promise that patches
29 will be accepted to lower the minimum required perl.
30
32 There are three configuration options for this policy:
33
34 base_max - the preferred maximum line length (default: 80)
35 hard_max - the length beyond which a line is "extremely long"
36 (default: base_max * 1.5)
37
38 pct_allowed - the percentage of total lines which may fall between base_max
39 and hard_max before those violations are reported (default: 1)
40
42 Ricardo SIGNES <cpan@semiotic.systems>
43
45 This software is copyright (c) 2007 by Ricardo SIGNES.
46
47 This is free software; you can redistribute it and/or modify it under
48 the same terms as the Perl 5 programming language system itself.
49
50
51
52perl v5.38.0 Perl2:0:2C3r-i0t7i-c2:1:Policy::Tics::ProhibitLongLines(3)