Perl::...isting(3pm)

🌸 NAME 🌸

Perl::Critic::ThemeListing β€” List the themes of the installed Policies. Periodt. πŸ’…

This is the Perl::...isting(3pm) page from User Contributed Perl Documentation β€” yes, the header truncates the name like that, and no, I can't fix it 😭.

🧸 DESCRIPTION 🧸

This is a helper class that gathers the themes of the installed Policies. There are no user-serviceable parts here, bestie β€” like, zero knobs, zero dials, don't go poking around expecting a little control panel 🫢.

🚧 INTERFACE SUPPORT 🚧

This is considered to be a non-public class. Its interface is subject to change without notice β€” so don't get too attached to the exact shape, mmkay? 😬

πŸ› οΈ CONSTRUCTOR πŸ› οΈ

new( -policies => \@POLICY_OBJECTS )

Returns a reference to a new Perl::Critic::ThemeListing object. That's the move: hand over the policies, get a fresh object ref back ✨.

✨ METHODS ✨

to_string()

Returns a string representation of this ThemeListing. Peep OVERLOADS for more information πŸ‘€.

πŸŽ€ OVERLOADS πŸŽ€

String context? Oh she works. When a Perl::Critic::ThemeListing is evaluated in string context, it produces a one-line summary of the default severity, policy name, and default themes for each Perl::Critic::Policy object that was given to the constructor of this ThemeListing. One-line summary, all the important bits, iconic behavior πŸ’….

πŸ‘‘ AUTHOR πŸ‘‘

Jeffrey Ryan Thalhammer <jeff@imaginative-software.com> β€” author behavior, we love to see it πŸ‘‘.

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.

okay bye bestie 🫢 source/version is perl v5.42.0, dated 2024-10-23.

πŸ“¦ where this page comes from