Perl::...Option(3pm)
π NAME π
okay so welcome to the Perl::...Option(3pm) page, bestie β it's part of the User Contributed Perl Documentation, and it's all about Perl::Critic::Exception::Configuration::Option β A problem with an option in the Perl::Critic configuration. Yes the name is long, she ate, no notes π
.
π¦ DESCRIPTION π¦
This class is a whole representation of a problem found with an option in the configuration of Perl::Critic β whether it came from a .perlcriticrc, another profile file, or the command line. It's giving config drama, but organized β¨.
This is an abstract class. It should never be instantiated β like, do not try to make one, bestie, that's not the vibe, periodt π«.
π INTERFACE SUPPORT π
This is considered to be a public class. Any changes to its interface will go through a deprecation cycle. So yes, the API has main character energy and gets a proper heads-up before anything shifts π.
β¨ METHODS β¨
option_name()β the name of the option that was found to be in error. It's literally telling you which option is acting up π«Ά.option_value()β the value of the option that was found to be in error. So you get the messy value too.message_suffix()β any text that should be applied to end of the standard message for this kind of exception. Little ending garnish, basically π.message()anderror()β both overridden to callfull_message(). I.e. any message string in the superclass is ignored. Superclass message? Never heard of her π.full_message()β overridden to turn it into an abstract method to force subclasses to implement it. Yep, the subclasses have to do the work, no cap.
π SEE ALSO π
Perl::Critic::Exception::Configuration::Option::GlobalPerl::Critic::Exception::Configuration::Option::Policy
π AUTHOR π
Elliot Shank <perl@galumph.com> β icon, legend, the moment π.
π COPYRIGHT π
Copyright (c) 2007-2011 Elliot Shank.
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.
that's the whole page, bestie β from perl v5.42.0, dated 2024-10-23, and the manual name is Perl::...Option(3pm) π«Άπ
π¦ 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