| 1 | package Perl::MinimumVersion::Reason; | ||
| 2 | 21 | $Perl::MinimumVersion::Reason::VERSION = '1.44'; | |
| 3 | # Simple abstraction for a syntax limitation. | ||
| 4 | # It contains the limiting version, the rule responsible, and the | ||
| 5 | # PPI element responsible for the limitation (if any). | ||
| 6 | |||
| 7 | 21 | ▶ | use 5.006; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 8 | 21 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 9 | 21 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 10 | |||
| 11 | 47 | ▶ | sub new { |
|
Subroutine
new: called CC=1 SCAR=0.0
Pod
undocumented
| |||
| 12 | 47 | my $class = shift; | |
| 13 | 47 | return bless { @_ }, $class; | |
| 14 | } | ||
| 15 | |||
| 16 | 48 | ▶ | sub version { |
|
Subroutine
version: called CC=1 SCAR=0.0
Pod
undocumented
| |||
| 17 | 48 | $_[0]->{version}; | |
| 18 | } | ||
| 19 | |||
| 20 | 3 | ▶ | sub rule { |
|
Subroutine
rule: called CC=1 SCAR=0.0
Pod
undocumented
| |||
| 21 | 3 | $_[0]->{rule}; | |
| 22 | } | ||
| 23 | |||
| 24 | 4 | ▶ | sub element { |
|
Subroutine
element: called CC=1 SCAR=0.0
Pod
undocumented
| |||
| 25 | 4 | $_[0]->{element}; | |
| 26 | } | ||
| 27 | |||
| 28 | 0 | ▶ | sub explanation { |
|
Subroutine
explanation: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 29 | 0 | $_[0]->{explanation}; | |
| 30 | } | ||
| 31 | |||
| 32 | 21 | 1; | |