line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
# This code can be redistributed and modified under the terms of the GNU Affero |
2
|
|
|
|
|
|
|
# General Public License as published by the Free Software Foundation, either |
3
|
|
|
|
|
|
|
# version 3 of the License, or (at your option) any later version. |
4
|
|
|
|
|
|
|
# See the "COPYING" file for details. |
5
|
|
|
|
|
|
|
package HTML::Blitz::pragma; |
6
|
12
|
|
|
12
|
|
140
|
use strict; |
|
12
|
|
|
|
|
23
|
|
|
12
|
|
|
|
|
415
|
|
7
|
12
|
|
|
12
|
|
62
|
use warnings qw(all FATAL uninitialized); |
|
12
|
|
|
|
|
42
|
|
|
12
|
|
|
|
|
876
|
|
8
|
|
|
|
|
|
|
use constant { |
9
|
12
|
|
|
|
|
1206
|
PERL_VERSION => '5.20', |
10
|
|
|
|
|
|
|
_HAVE_PERL_5_32 => $^V ge v5.32.0, |
11
|
12
|
|
|
12
|
|
76
|
}; |
|
12
|
|
|
|
|
27
|
|
12
|
12
|
|
|
12
|
|
89
|
use feature ':' . PERL_VERSION; |
|
12
|
|
|
|
|
32
|
|
|
12
|
|
|
|
|
2183
|
|
13
|
12
|
|
|
12
|
|
8294
|
no if _HAVE_PERL_5_32, feature => 'indirect'; |
|
12
|
|
|
|
|
164
|
|
|
12
|
|
|
|
|
61
|
|
14
|
12
|
|
|
12
|
|
8175
|
use Function::Parameters 2; |
|
12
|
|
|
|
|
45210
|
|
|
12
|
|
|
|
|
63
|
|
15
|
|
|
|
|
|
|
|
16
|
12
|
|
|
12
|
|
5710
|
use Carp (); |
|
12
|
|
|
|
|
26
|
|
|
12
|
|
|
|
|
2209
|
|
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
our $VERSION = '0.07'; |
19
|
|
|
|
|
|
|
|
20
|
134
|
50
|
|
134
|
|
474
|
method import($class: @items) { |
|
134
|
|
|
|
|
267
|
|
|
134
|
|
|
|
|
287
|
|
|
134
|
|
|
|
|
177
|
|
21
|
134
|
|
|
|
|
292
|
for my $item (@items) { |
22
|
0
|
|
|
|
|
0
|
Carp::croak qq("$item" is not exported by the $class module); |
23
|
|
|
|
|
|
|
} |
24
|
|
|
|
|
|
|
|
25
|
134
|
|
|
|
|
868
|
strict->import; |
26
|
134
|
|
|
|
|
2106
|
warnings->import(qw(all FATAL uninitialized)); |
27
|
134
|
|
|
|
|
8069
|
feature->import(':' . PERL_VERSION); |
28
|
134
|
|
|
|
|
302
|
feature->unimport('indirect') if _HAVE_PERL_5_32; |
29
|
134
|
|
|
|
|
653
|
Function::Parameters->import; |
30
|
|
|
|
|
|
|
} |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
1 |