Search results for "module:Perl::Critic::Policy::ClassHierarchies::ProhibitAutoloading"

Perl::Critic::Policy::ClassHierarchies::ProhibitAutoloading - AUTOLOAD methods should be avoided. River stage three • 131 direct dependents • 386 total dependents

Declaring a subroutine with the name "AUTOLOAD" will violate this Policy. The "AUTOLOAD" mechanism is an easy way to generate methods for your classes, but unless they are carefully written, those classes are difficult to inherit from. And over time,...

PETDANCE/Perl-Critic-1.142 - 29 Nov 2022 02:20:23 UTC
1 result (0.139 seconds)