1Perl::Critic::Policy::TUiscesr::CPornotPhreiirbbliu:tt:LeCodrnigPtLeiircnl:e:sDP(oo3cl)uimceyn:t:aTtiicosn::ProhibitLongLines(3)
2
3
4

NAME

6       Perl::Critic::Policy::Tics::ProhibitLongLines - 80 x 40 for life!
7

VERSION

9       version 0.009
10

DESCRIPTION

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

CONFIGURATION

23       There are three configuration options for this policy:
24
25         base_max - the preferred maximum line length (default: 80)
26         hard_max - the length beyond which a line is "extremely long"
27                    (default: base_max * 1.5)
28
29         pct_allowed - the percentage of total lines which may fall between base_max
30                       and hard_max before those violations are reported (default: 1)
31

AUTHOR

33       Ricardo SIGNES <rjbs@cpan.org>
34
36       This software is copyright (c) 2007 by Ricardo SIGNES.
37
38       This is free software; you can redistribute it and/or modify it under
39       the same terms as the Perl 5 programming language system itself.
40
41
42
43perl v5.30.1                  Perl2:0:2C0r-i0t1i-c3:0:Policy::Tics::ProhibitLongLines(3)
Impressum