Perl::...ackages(3pm)
bestie, welcome to a 3pm page from the User Contributed Perl Documentation β the one and only Perl::...ackages(3pm). This is all about Perl::Critic::Policy::Modules::ProhibitMultiplePackages, and itβs giving βput your packages in separate filesβ energy. periodt. π
β¨ NAME β¨
Perl::Critic::Policy::Modules::ProhibitMultiplePackages β Put packages (especially subclasses) in separate files. π
π AFFILIATION π
This Policy is part of the core Perl::Critic distribution β itβs built in, not some random add-on. π
π¦ DESCRIPTION π¦
Conway doesn't specifically mention this, but lowkey the author finds it annoying when there are multiple packages in the same file. π When you're searching for methods or keywords in your editor, it makes it hard to find the right chunk of code β especially if each package is a subclass of the same base. fr fr, itβs giving βwhere is that method hidingβ chaos. π«
π CONFIGURATION π
This Policy is not configurable except for the standard options. Thatβs it, bestie β no secret knobs, no extra flags. standard options only. π«Ά
πΈ AUTHOR πΈ
Jeffrey Ryan Thalhammer <jeff@imaginative-software.com> β¨
π COPYRIGHT π
Copyright (c) 2005-2011 Imaginative Software Systems. All rights reserved. π₯Ί
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. The full text of this license can be found in the LICENSE file included with this module. π
mwah π β this page is from perl v5.42.0, dated 2024-10-23, and itβs still serving Perl::...ackages(3pm) energy. byeee π¦
π¦ 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