Elliot Shank > Perl-Critic-More-1.000 > Perl::Critic::Policy::CodeLayout::RequireASCII

Download:
Perl-Critic-More-1.000.tar.gz

Dependencies

Annotate this POD

Website

CPAN RT

New  2
Open  3
View/Report Bugs
Module Version: 1.000   Source   Latest Release: Perl-Critic-More-1.003

NAME ^

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

AFFILIATION ^

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

DESCRIPTION ^

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.

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>

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.

syntax highlighting: