The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

Search results for "dist:Perl-Critic-More CDOLAN"

Perl::Critic::More - Supplemental policies for Perl::Critic River stage one • 4 direct dependents • 8 total dependents

This is a collection of Perl::Critic policies that are not included in the Perl::Critic core for a variety of reasons: * Experimental Some policies need some time to work out their kinks, test usability, or gauge community interest. A subset of these...

THALJEF/Perl-Critic-More-1.003 - 29 Oct 2013 16:43:05 UTC

Perl::Critic::Policy::CodeLayout::RequireASCII - Disallow high-bit characters. River stage one • 4 direct dependents • 8 total dependents

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 compatib...

THALJEF/Perl-Critic-More-1.003 - 29 Oct 2013 16:43:05 UTC

Perl::Critic::Policy::Modules::RequirePerlVersion - Require a use 5.006; or similar. River stage one • 4 direct dependents • 8 total dependents

As Perl evolves, new desirable features get added. The best ones seem to break backward compatibility, unfortunately. As a favor to downstream developers, it's good to state explicitly which Perl version will not be able to parse your code. For examp...

THALJEF/Perl-Critic-More-1.003 - 29 Oct 2013 16:43:05 UTC

Perl::Critic::Policy::Modules::PerlMinimumVersion - Enforce backward compatible code. River stage one • 4 direct dependents • 8 total dependents

As Perl evolves, new desirable features get added. The best ones seem to break backward compatibility, unfortunately. This policy allows you to specify a mandatory compatibility version for your code. For example, if you add the following to your .pe...

THALJEF/Perl-Critic-More-1.003 - 29 Oct 2013 16:43:05 UTC

Perl::Critic::Policy::Editor::RequireEmacsFileVariables - Per-file editor settings. River stage one • 4 direct dependents • 8 total dependents

Many text editors know how to find magic strings in files that indicate settings that work best for that file. For example, the file can indicate that it expects four-character indentation. In emacs, this magic string is called "File Variables". Ther...

THALJEF/Perl-Critic-More-1.003 - 29 Oct 2013 16:43:05 UTC

Perl::Critic::Policy::ValuesAndExpressions::RestrictLongStrings - Stop mixing long strings with code. River stage one • 4 direct dependents • 8 total dependents

Long text strings in the middle of code is very distracting and wreaks havoc on code formatting. Consider putting long strings in external data files, "__DATA__" sections, or in their own subroutines. This policy complains if a long string is not the...

THALJEF/Perl-Critic-More-1.003 - 29 Oct 2013 16:43:05 UTC
6 results (0.07 seconds)