line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package bareword::filehandles; |
2
|
|
|
|
|
|
|
# ABSTRACT: disables bareword filehandles |
3
|
|
|
|
|
|
|
$bareword::filehandles::VERSION = '0.007'; |
4
|
1
|
|
|
1
|
|
66883
|
{ use 5.008001; } |
|
1
|
|
|
|
|
13
|
|
5
|
1
|
|
|
1
|
|
14
|
use strict; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
23
|
|
6
|
1
|
|
|
1
|
|
5
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
48
|
|
7
|
|
|
|
|
|
|
|
8
|
1
|
|
|
1
|
|
665
|
use if "$]" < 5.012, 'Lexical::SealRequireHints'; |
|
1
|
|
|
|
|
13
|
|
|
1
|
|
|
|
|
8
|
|
9
|
1
|
|
|
1
|
|
492
|
use B::Hooks::OP::Check; |
|
1
|
|
|
|
|
1368
|
|
|
1
|
|
|
|
|
29
|
|
10
|
1
|
|
|
1
|
|
7
|
use XSLoader; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
108
|
|
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
XSLoader::load( |
13
|
|
|
|
|
|
|
__PACKAGE__, |
14
|
|
|
|
|
|
|
# we need to be careful not to touch $VERSION at compile time, otherwise |
15
|
|
|
|
|
|
|
# DynaLoader will assume it's set and check against it, which will cause |
16
|
|
|
|
|
|
|
# fail when being run in the checkout without dzil having set the actual |
17
|
|
|
|
|
|
|
# $VERSION |
18
|
|
|
|
|
|
|
exists $bareword::filehandles::{VERSION} ? ${ $bareword::filehandles::{VERSION} } : (), |
19
|
|
|
|
|
|
|
); |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
|
22
|
452
|
|
|
452
|
|
288264
|
sub unimport { $^H |= 0x20000; $^H{__PACKAGE__.'/disabled'} = 1 } |
|
452
|
|
|
|
|
17183
|
|
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
|
25
|
1
|
|
|
1
|
|
29
|
sub import { delete $^H{__PACKAGE__.'/disabled'} } |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
1; |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
__END__ |