Perl::C...ongLines(3)

πŸ“¦
version 0.010 Β· 2 versions
, in fedora 43

πŸ‘‘ 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 between base_max and hard_max before those violations are reported (default: 1)

🧚 AUTHOR 🧚

Ricardo SIGNES <cpan@semiotic.systems> πŸ‘‘


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