Perl::...espace(3pm)
π NAME π
okay so this is the Perl::...espace(3pm) page from User Contributed Perl Documentation, and it's here to talk about Perl::Critic::Policy::CodeLayout::ProhibitTrailingWhitespace.
Perl::Critic::Policy::CodeLayout::ProhibitTrailingWhitespaceβ don't use whitespace at the end of lines. periodt π
β¨ AFFILIATION β¨
This Policy is part of the core Perl::Critic distribution. she's core, bestie π
π¦ DESCRIPTION π¦
Anything that is not readily visually detectable is a bad thing in general. fr fr, if your eyeballs can't spot it easily, that's lowkey a red flag.
And more specifically: as different people edit the same code, their editors may automatically strip out trailing whitespace, causing spurious differences between different versions of the same file (i.e. code in a source control system). the way that creates fake-looking diffs is so not slay π
π CONFIGURATION π
This Policy is not configurable except for the standard options. no extra knobs, no secret menu, just the standard options and that's it π«Ά
πΈ AUTHOR πΈ
Elliot Shank "<perl@galumph.com>" π
π COPYRIGHT π
Copyright (c) 2007-2023 Elliot Shank
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. The full text of this license can be found in the LICENSE file included with this module. πβ¨
xoxo, Perl::...espace(3pm) β from perl v5.42.0, dated 2024-10-23 π
π¦ 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