line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Perl::MinimumVersion::Reason; |
2
|
|
|
|
|
|
|
$Perl::MinimumVersion::Reason::VERSION = '1.42'; # TRIAL |
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
|
|
|
21
|
|
452
|
use 5.006; |
|
21
|
|
|
|
|
83
|
|
8
|
21
|
|
|
21
|
|
170
|
use strict; |
|
21
|
|
|
|
|
56
|
|
|
21
|
|
|
|
|
500
|
|
9
|
21
|
|
|
21
|
|
139
|
use warnings; |
|
21
|
|
|
|
|
74
|
|
|
21
|
|
|
|
|
4043
|
|
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
sub new { |
12
|
47
|
|
|
47
|
0
|
125
|
my $class = shift; |
13
|
47
|
|
|
|
|
247
|
return bless { @_ }, $class; |
14
|
|
|
|
|
|
|
} |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
sub version { |
17
|
48
|
|
|
48
|
0
|
162
|
$_[0]->{version}; |
18
|
|
|
|
|
|
|
} |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
sub rule { |
21
|
3
|
|
|
3
|
0
|
1673
|
$_[0]->{rule}; |
22
|
|
|
|
|
|
|
} |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
sub element { |
25
|
4
|
|
|
4
|
0
|
593
|
$_[0]->{element}; |
26
|
|
|
|
|
|
|
} |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
sub explanation { |
29
|
0
|
|
|
0
|
0
|
|
$_[0]->{explanation}; |
30
|
|
|
|
|
|
|
} |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
1; |