Perl::Critic::Policy::CodeLayout::RequireASCII - Disallow high-bit characters.


This policy is part of Perl::Critic::More, a bleeding edge supplement to Perl::Critic.


ASCII is a text encoding first introduced in 1963. It represents 128 characters in seven-bit bytes, reserving the eighth bit for error detection. Perl supports a large number of encodings. However, if you really want the ultimate in backward compatibility, ASCII is it! (We won't even talk about EBCDIC and the like...)

This policy is not recommended for everyone. Instead, most of you should probably strive for one of the Unicode encodings for maximum forward compatibility.



Chris Dolan <>


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.