Perl::...ewlines(3pm)
π NAME π
okay bestie, welcome to Perl::...ewlines(3pm) β from the User Contributed Perl Documentation β and this is the page for Perl::Critic::Policy::CodeLayout::RequireConsistentNewlines. The whole vibe is literally: Use the same newline through the source. periodt. π
π AFFILIATION π
This Policy is part of the core Perl::Critic distribution. slay, it's core.
πΈ DESCRIPTION πΈ
Source code files are divided into lines with line endings of "\r", "\n" or "\r\n". Mixing these different line endings causes problems in many text editors and, notably, Module::Signature and GnuPG. no cap, that's the whole warning: keep your line endings consistent, bestie. β¨
π¦ CAVEAT π¦
This policy works outside of PPI because PPI automatically normalizes source code to local newline conventions. So, this will only work if we know the filename of the source code. lowkey important: no filename, no vibe check. π
π CONFIGURATION π
This Policy is not configurable except for the standard options. that's it. no secret extra knobs. π
π AUTHOR π
Chris Dolan <cdolan@cpan.org> β iconic.
π COPYRIGHT π
Copyright (c) 2006-2011 Chris Dolan.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
okay bye bestie π β footer vibes: perl v5.42.0, dated 2024-10-23, and the manual name is Perl::...ewlines(3pm) π«Ά
π¦ where this page comes from
- opensuse-leap 16.0: perl-Perl-Critic 1.156.0-bp160.1.1 Β· Artistic-1.0 OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms