Perl::...ameter(3pm)
π NAME π
Okay bestie, welcome to Perl::...ameter(3pm) β from the User Contributed Perl Documentation β and it is giving extremely specific exception-class energy. β¨
Perl::Critic::Exception::Configuration::Option::Global::ExtraParameter is literally the exception for when the configuration referred to a non-existent global option. Like, the configuration tried to specify a value for an option that Perl::Critic doesn't have β whether that came from a .perlcriticrc, another profile file, or the command line. No cap. π
π INTERFACE SUPPORT π
This is considered to be a public class. Any changes to its interface will go through a deprecation cycle. So yes, it's public, but don't expect wild breaking changes out of nowhere β there's a whole deprecation cycle. π«Ά
π CLASS METHODS π
throw( option_name => $option_name, source => $source )β SeethrowinException::Class. This is the throw-y one, bestie. πnew( option_name => $option_name, source => $source )β SeenewinException::Class. The constructor vibe. β¨
π METHODS π
full_message()β Provide a standard message for values for non-existent parameters for policies. Seefull_messageinException::Class. It's giving helpful-message main character energy. π
π AUTHOR π
Elliot Shank <perl@galumph.com> β iconic. π
Β©οΈ 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. π«Ά
Mwah π β this page came from perl v5.42.0, dated 2024-10-23. 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