line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package lib::disallow; |
2
|
|
|
|
|
|
|
|
3
|
1
|
|
|
1
|
|
109059
|
use strict; |
|
1
|
|
|
|
|
13
|
|
|
1
|
|
|
|
|
36
|
|
4
|
1
|
|
|
1
|
|
6
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
157
|
|
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
require lib::filter; |
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
our $AUTHORITY = 'cpan:PERLANCAR'; # AUTHORITY |
9
|
|
|
|
|
|
|
our $DATE = '2021-08-29'; # DATE |
10
|
|
|
|
|
|
|
our $DIST = 'lib-filter'; # DIST |
11
|
|
|
|
|
|
|
our $VERSION = '0.281'; # VERSION |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
sub import { |
14
|
0
|
|
|
0
|
|
|
my $pkg = shift; |
15
|
|
|
|
|
|
|
|
16
|
0
|
|
|
|
|
|
lib::filter->import(disallow=>join(';',@_)); |
17
|
|
|
|
|
|
|
} |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
sub unimport { |
20
|
0
|
|
|
0
|
|
|
lib::filter->unimport; |
21
|
|
|
|
|
|
|
} |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
1; |
24
|
|
|
|
|
|
|
# ABSTRACT: Disallow a list of modules from being locateable/loadable |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
__END__ |