Perl::Critic::Exception::Configuration::Option(3pm)

Perl::Critic::Exception::Configuration::Option3pm

A problem with an option in the perl::critic configuration.

Overview

A representation of a problem found with an option in the configuration of Perl::Critic, whether from a .perlcriticrc, another profile file, or command line.

This is an abstract class. It should never be instantiated.

Interface support

This is considered to be a public class. Any changes to its interface will go through a deprecation cycle.

Methods

option_name()

The name of the option that was found to be in error.

option_value()

The value of the option that was found to be in error.

message_suffix()

Any text that should be applied to end of the standard message for this kind of exception.

message()
error()

Overridden to call full_message(). I.e. any message string in the superclass is ignored.

full_message()

Overridden to turn it into an abstract method to force subclasses to implement it.

Releases

10 releases since Debian 5.0 (Lenny); the text changed 9 times.

  1. 5.0
  2. 6.0
  3. 7
  4. 8
  5. 9
  6. 10
  7. 11
  8. 12
  9. 13
  10. Arch

Author

Elliot Shank <[email protected]>

From perl-perl-critic 1.156-3 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.