« lib/Perl/Critic/Exception/Configuration.pm
↑ Summary
lib/Perl/Critic/Exception/Configuration/Option/Global.pm »
| 1 | package Perl::Critic::Exception::Configuration::Generic; | ||
| 2 | |||
| 3 | 40 | ▶ | use 5.010001; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 40 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | 40 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | |||
| 7 | 40 | ▶ | use Readonly; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 8 | |||
| 9 | 40 | our $VERSION = '1.156'; | |
| 10 | |||
| 11 | #----------------------------------------------------------------------------- | ||
| 12 | |||
| 13 | 40 | ▶ | use Exception::Class ( |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 14 | 40 | 'Perl::Critic::Exception::Configuration::Generic' => { | |
| 15 | isa => 'Perl::Critic::Exception::Configuration', | ||
| 16 | description => | ||
| 17 | q{A problem with Perl::Critic configuration that isn't related to an option.}, | ||
| 18 | alias => 'throw_generic', | ||
| 19 | }, | ||
| 20 | 40 | ); | |
| 21 | |||
| 22 | #----------------------------------------------------------------------------- | ||
| 23 | |||
| 24 | 40 | Readonly::Array our @EXPORT_OK => qw< throw_generic >; | |
| 25 | |||
| 26 | #----------------------------------------------------------------------------- | ||
| 27 | |||
| 28 | 40 | 1; | |
| 29 | |||
| 30 | __END__ | ||