Perl::...icitISA(3pm)
π NAME π
Perl::Critic::Policy::ClassHierarchies::ProhibitExplicitISA β okay so this is the policy that says βemploy use parent instead of @ISA,β and yes bestie, itβs giving class-hierarchy glow-up π
. It lives in the User Contributed Perl Documentation zone, which is the manual name, mwah β¨.
πΈ AFFILIATION πΈ
This Policy is part of the core Perl::Critic distribution. Like, it ships with the main-character distribution itself π.
π DESCRIPTION π
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-forgotten code. Iconic behavior, honestly π¦.
The original version of this policy recommended base instead of parent, which is now obsolete. So yeah, base is giving deprecated energy β not the move anymore π.
β¨ CONFIGURATION β¨
This Policy is not configurable except for the standard options. Thatβs it, thatβs the config tea π΅.
π AUTHOR π
Chris Dolan <cdolan@cpan.org> β wrote this one, slay π.
π COPYRIGHT π
Copyright (c) 2006-2022 Chris Dolan.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Okay bye bestie β this pageβs source/version is perl v5.42.0, and the date is 2024-10-23. Obsessed, periodt π
β¨
π¦ where this page comes from
- opensuse-leap 16.0: perl-Perl-Critic 1.156.0-bp160.1.1 Β· Artistic-1.0 OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms