Perl::...eASCII(3pm)
β¨ NAME β¨
Perl::Critic::Policy::CodeLayout::RequireASCII β bestie, this one's here to say no high-bit characters allowed. Periodt. π
π AFFILIATION π
This policy is part of Perl::Critic::More, a bleeding edge supplement to Perl::Critic. So it's like the extra-spicy bonus pack, iykyk. π¦
πΈ DESCRIPTION πΈ
Okay so storytime: ASCII is a text encoding that first showed up in 1963. Iconic behavior, honestly, it ate. It represents 128 characters in seven-bit bytes, and it keeps that eighth bit reserved for error detection. Very "I have one job and I do it flawlessly" of it. π
Perl supports a large number of encodings, like, a whole buffet. But if you really want the ultimate in backward compatibility, then ASCII is it, no cap! π«Ά (And we are not even going to talk about EBCDIC and the like... we don't have the energy, bestie. π)
β οΈ Real talk though: this policy is not recommended for everyone. Most of you should probably be striving for one of the Unicode encodings instead, for maximum forward compatibility. That's the vibe check. π
π SEE ALSO π
<http://en.wikipedia.org/wiki/Ascii><http://en.wikipedia.org/wiki/EBCDIC><http://en.wikipedia.org/wiki/Unicode>
β AUTHOR β
Chris Dolan <cdolan@cpan.org> β legend behavior, we stan. π
π COPYRIGHT π
Copyright (c) 2006-2008 Chris Dolan
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. Slay, and also legally binding. π
and that's the whole page, bestie!! mwah π this was perl v5.42.0, dated 2025-07-25, and yes the manual page name is giving Perl::...eASCII(3pm) because it got truncated mid-glow-up. go forth and keep your source files seven-bit clean, ily π«Άβ¨
π¦ where this page comes from
- fedora 43: perl-Perl-Critic-More 1.003-33.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