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 "distribution:Perl-Critic-StricterSubs THALJEF"

Perl::Critic::StricterSubs - Perl::Critic plugin for stricter subroutine checks River stage two • 6 direct dependents • 12 total dependents

As a dynamic language, Perl doesn't require you to define subroutines until run-time. Although this is a powerful feature, it can also be a major source of bugs. For example, you might mistype the name of a subroutine, or call a subroutine from anoth...

PETDANCE/Perl-Critic-StricterSubs-0.06 - 26 Apr 2022 03:43:51 UTC

Perl::Critic::StricterSubs::Utils River stage two • 6 direct dependents • 12 total dependents

This module holds utility methods that are shared by other modules in the Perl::Critic::StricterSubs distro. Until this distro becomes more mature, I would discourage you from using these subs outside of this distro....

PETDANCE/Perl-Critic-StricterSubs-0.06 - 26 Apr 2022 03:43:51 UTC

Perl::Critic::Policy::Modules::RequireExplicitInclusion River stage two • 6 direct dependents • 12 total dependents

Checks that, if a reference is made to something inside of another package, that a module with the name of the package has been "use"d or "require"d. Without importing a package, it is unlikely that references to things inside it even exist. Due to t...

PETDANCE/Perl-Critic-StricterSubs-0.06 - 26 Apr 2022 03:43:51 UTC

Perl::Critic::Policy::Subroutines::ProhibitCallsToUnexportedSubs River stage two • 6 direct dependents • 12 total dependents

Many Perl modules define their public interface by exporting subroutines via Exporter. The goal of this Policy is to enforce encapsulation by by prohibiting calls to subroutines that are not listed in the callee's @EXPORT or @EXPORT_OK....

PETDANCE/Perl-Critic-StricterSubs-0.06 - 26 Apr 2022 03:43:51 UTC

Perl::Critic::Policy::Subroutines::ProhibitCallsToUndeclaredSubs River stage two • 6 direct dependents • 12 total dependents

This Policy checks that every unqualified subroutine call has a matching subroutine declaration in the current file, or that it explicitly appears in the import list for one of the included modules. Some modules do not use the Exporter interface, and...

PETDANCE/Perl-Critic-StricterSubs-0.06 - 26 Apr 2022 03:43:51 UTC

Perl::Critic::Policy::Subroutines::ProhibitExportingUndeclaredSubs River stage two • 6 direct dependents • 12 total dependents

This Policy checks that any subroutine listed in @EXPORT or @EXPORT_OK is actually defined in the current file....

PETDANCE/Perl-Critic-StricterSubs-0.06 - 26 Apr 2022 03:43:51 UTC

Perl::Critic::Policy::Subroutines::ProhibitQualifiedSubDeclarations River stage two • 6 direct dependents • 12 total dependents

Perl permits you to declare subroutines into any package that you want. This can be downright dangerous if that package is already defined elsewhere. package Foo; sub Bar::frobulate {} #not ok sub frobulate {} #ok Even if you declare a subroutine int...

PETDANCE/Perl-Critic-StricterSubs-0.06 - 26 Apr 2022 03:43:51 UTC
7 results (0.026 seconds)