Perl::C...ongLines(3)
π NAME π
okay bestie, gather round, because this is Perl::Critic::Policy::Tics::ProhibitLongLines β and its whole personality is 80 x 40 for life! π
β¨ VERSION β¨
we are on version 0.010, periodt.
π DESCRIPTION π
okay so here's the vibe: please keep your code to about eighty columns wide, which is literally the One True Terminal Width. no cap. π₯οΈβ¨
going over that occasionally is okay β but only once in a while, bestie. like, a treat. not a lifestyle.
the way this policy works is lowkey two-tier:
- it always throws a violation for lines that are extremely long. always. no exceptions, no mercy. π
- it will also throw a violation if there are too many lines that are only slightly longer than the preferred maximum length.
so if it's just a few lines over the preferred max width? they're let slide, and only the extremely long lines count as violations. iconic behaviour honestly. π
π¦ PERL VERSION π¦
this library should run on perls released even a long time ago. it should work on any version of perl released in the last five years. π«Ά
although it may work on older versions of perl, no guarantee is made that the minimum required version will not be increased. the version may be increased for any reason, and there is no promise that patches will be accepted to lower the minimum required perl. that's just how it is, fr fr. π
πΈ CONFIGURATION πΈ
there are three configuration options for this policy, and they are:
base_maxβ the preferred maximum line length (default:80)hard_maxβ the length beyond which a line is "extremely long" (default:base_max * 1.5)pct_allowedβ the percentage of total lines which may fall betweenbase_maxandhard_maxbefore those violations are reported (default:1)
π§ AUTHOR π§
Ricardo SIGNES <cpan@semiotic.systems> π
π COPYRIGHT AND LICENSE π
this software is copyright (c) 2007 by Ricardo SIGNES.
this is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. slay.
and that's the whole page, bestie!! this was User Contributed Perl Documentation for Perl::C...ongLines(3), brought to you by perl v5.42.0 on 2025-07-25 β mwah, go keep those lines under eighty ππβ
π¦ where this page comes from
- fedora 43: perl-Perl-Critic-Tics 0.010-8.fc43 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms