Perl::...totype(3pm)
π NAME π
okay so you're on the Perl::...totype(3pm) page β brought to you by User Contributed Perl Documentation β and the actual star of the show is Perl::Critic::ProfilePrototype: Generate an initial Perl::Critic profile. bestie, it's giving βstarter config energyβ β¨
πΈ DESCRIPTION πΈ
This is a helper class that generates a prototype of a Perl::Critic profile (e.g. a .perlcriticrc file). There are no user-serviceable parts here. so don't go poking around expecting knobs to turn, okay? π
π‘οΈ INTERFACE SUPPORT π‘οΈ
This is considered to be a non-public class. Its interface is subject to change without notice. so likeβ¦ don't get too attached to it staying exactly the same, fr fr π
π οΈ CONSTRUCTOR π οΈ
π new( -policies => \@POLICY_OBJECTS )
Returns a reference to a new Perl::Critic::ProfilePrototype object. that's the whole job β cute, simple, iconic π
β¨ METHODS β¨
to_string()
Returns a string representation of this ProfilePrototype. See OVERLOADS for more information. yes bestie, the method and the overload are lowkey besties π«Ά
π OVERLOADS π
When a Perl::Critic::ProfilePrototype is evaluated in string context, it produces a multi-line summary of the policy name, default themes, and default severity for each Perl::Critic::Policy object that was given to the constructor of this ProfilePrototype. If the Policy supports an additional parameters, they will also be listed (but commented-out). The format is suitable for use as a .perlcriticrc file. so it's literally doing the config-drafting thing for you π
π AUTHOR π
Jeffrey Ryan Thalhammer <jeff@imaginative-software.com> π
π COPYRIGHT π
Copyright (c) 2005-2023 Imaginative Software Systems
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. periodt π
mwah, that's the whole page bestie β Perl::...totype(3pm), source/version perl v5.42.0, dated 2024-10-23, from User Contributed Perl Documentation. slay and goodbye πβ¨
π¦ 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