The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

Search results for "dist:Perl-Critic Class::ISA"

Perl::Critic::Policy::ClassHierarchies::ProhibitExplicitISA - Employ use parent instead of @ISA. River stage three • 133 direct dependents • 408 total dependents

Conway recommends employing "use parent qw(Foo)" instead of the usual "our @ISA = qw(Foo)" because the former happens at compile time and the latter at runtime. The parent pragma also automatically loads "Foo" for you so you save a line of easily-for...

PETDANCE/Perl-Critic-1.152 - 17 Oct 2023 04:09:08 UTC

Perl::Critic::Document - Caching wrapper around a PPI::Document. River stage three • 133 direct dependents • 408 total dependents

Perl::Critic does a lot of iterations over the PPI document tree via the "PPI::Document::find()" method. To save some time, this class pre-caches a lot of the common "find()" calls in a single traversal. Then, on subsequent requests we return the cac...

PETDANCE/Perl-Critic-1.152 - 17 Oct 2023 04:09:08 UTC

Perl::Critic::DEVELOPER - How to make new Perl::Critic::Policy modules. River stage three • 133 direct dependents • 408 total dependents

For developers who want to create custom coding standards, the following tells how to create a Policy module for Perl::Critic. Although the Perl::Critic distribution already includes a number of Policies based on Damian Conway's book *Perl Best Pract...

PETDANCE/Perl-Critic-1.152 - 17 Oct 2023 04:09:08 UTC

Perl::Critic::PolicySummary - Descriptions of the Policy modules included with Perl::Critic itself. River stage three • 133 direct dependents • 408 total dependents

The following Policy modules are distributed with Perl::Critic. (There are additional Policies that can be found in add-on distributions.) The Policy modules have been categorized according to the table of contents in Damian Conway's book Perl Best P...

PETDANCE/Perl-Critic-1.152 - 17 Oct 2023 04:09:08 UTC

Perl::Critic::Policy::Modules::ProhibitEvilModules - Ban modules that aren't blessed by your shop. River stage three • 133 direct dependents • 408 total dependents

Use this policy if you wish to prohibit the use of specific modules. These may be modules that you feel are deprecated, buggy, unsupported, insecure, or just don't like....

PETDANCE/Perl-Critic-1.152 - 17 Oct 2023 04:09:08 UTC

Perl::Critic::Policy::NamingConventions::Capitalization - Distinguish different program components by case. River stage three • 133 direct dependents • 408 total dependents

Conway recommends to distinguish different program components by case. Normal subroutines, methods and variables are all in lower case. my $foo; # ok my $foo_bar; # ok sub foo {} # ok sub foo_bar {} # ok my $Foo; # not ok my $foo_Bar; # not ok sub Fo...

PETDANCE/Perl-Critic-1.152 - 17 Oct 2023 04:09:08 UTC
6 results (0.035 seconds)