line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package HTML::Perlinfo; |
2
|
1
|
|
|
1
|
|
688
|
BEGIN { %HTML::Perlinfo::Seen = %INC } |
3
|
|
|
|
|
|
|
|
4
|
1
|
|
|
1
|
|
9
|
use strict; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
45
|
|
5
|
1
|
|
|
1
|
|
7
|
use warnings; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
51
|
|
6
|
1
|
|
|
1
|
|
5
|
use Carp (); |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
24
|
|
7
|
|
|
|
|
|
|
|
8
|
1
|
|
|
1
|
|
426
|
use HTML::Perlinfo::Apache; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
26
|
|
9
|
1
|
|
|
1
|
|
526
|
use HTML::Perlinfo::Modules; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
34
|
|
10
|
1
|
|
|
1
|
|
6
|
use HTML::Perlinfo::Common; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
112
|
|
11
|
|
|
|
|
|
|
|
12
|
1
|
|
|
1
|
|
4
|
use base qw(Exporter HTML::Perlinfo::Base); |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
239
|
|
13
|
|
|
|
|
|
|
our @EXPORT = qw(perlinfo); |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
our $VERSION = '1.65'; |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
sub perlinfo { |
18
|
0
|
|
|
0
|
0
|
|
my ($opt) = @_; |
19
|
0
|
0
|
|
|
|
|
$opt = 'INFO_ALL' unless $opt; |
20
|
|
|
|
|
|
|
|
21
|
0
|
0
|
0
|
|
|
|
error_msg("Invalid perlinfo() parameter: @_") |
22
|
|
|
|
|
|
|
if (($opt !~ /^INFO_(?:ALL|GENERAL|CONFIG|VARIABLES|APACHE|MODULES|LICENSE|LOADED)$/) || @_ > 1); |
23
|
|
|
|
|
|
|
|
24
|
0
|
|
|
|
|
|
$opt = lc $opt; |
25
|
0
|
|
|
|
|
|
my $p = HTML::Perlinfo->new(); |
26
|
0
|
|
|
|
|
|
$p->$opt; |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
} |
29
|
|
|
|
|
|
|
foreach my $key (%HTML::Perlinfo::Seen) { |
30
|
|
|
|
|
|
|
$INC{$key} = $HTML::Perlinfo::Seen{$key} unless exists $INC{$key}; |
31
|
|
|
|
|
|
|
} |
32
|
|
|
|
|
|
|
1; |
33
|
|
|
|
|
|
|
__END__ |