line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package HTTP::Headers::ActionPack::Core::Base; |
2
|
|
|
|
|
|
|
BEGIN { |
3
|
23
|
|
|
23
|
|
20009
|
$HTTP::Headers::ActionPack::Core::Base::AUTHORITY = 'cpan:STEVAN'; |
4
|
|
|
|
|
|
|
} |
5
|
|
|
|
|
|
|
{ |
6
|
|
|
|
|
|
|
$HTTP::Headers::ActionPack::Core::Base::VERSION = '0.09'; |
7
|
|
|
|
|
|
|
} |
8
|
|
|
|
|
|
|
# ABSTRACT: A Base class |
9
|
|
|
|
|
|
|
|
10
|
23
|
|
|
23
|
|
158
|
use strict; |
|
23
|
|
|
|
|
46
|
|
|
23
|
|
|
|
|
1070
|
|
11
|
23
|
|
|
23
|
|
124
|
use warnings; |
|
23
|
|
|
|
|
47
|
|
|
23
|
|
|
|
|
827
|
|
12
|
|
|
|
|
|
|
|
13
|
23
|
|
|
23
|
|
4229
|
use overload '""' => 'as_string', fallback => 1; |
|
23
|
|
|
|
|
2950
|
|
|
23
|
|
|
|
|
224
|
|
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
sub new { |
16
|
301
|
|
|
301
|
1
|
2904
|
my $class = shift; |
17
|
301
|
|
|
|
|
6169
|
my $self = $class->CREATE( $class->BUILDARGS( @_ ) ); |
18
|
301
|
|
|
|
|
1278
|
$self->BUILD( @_ ); |
19
|
301
|
|
|
|
|
1491
|
$self; |
20
|
|
|
|
|
|
|
} |
21
|
|
|
|
|
|
|
|
22
|
0
|
0
|
|
0
|
1
|
0
|
sub BUILDARGS { +{ ref $_[0] eq 'HASH' ? %{ $_[0] } : @_ } } |
|
0
|
|
|
|
|
0
|
|
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
sub CREATE { |
25
|
301
|
|
|
301
|
1
|
556
|
my ($class, $instance) = @_; |
26
|
301
|
|
|
|
|
1038
|
bless $instance => $class; |
27
|
|
|
|
|
|
|
} |
28
|
|
|
|
|
|
|
|
29
|
211
|
|
|
211
|
1
|
274
|
sub BUILD {} |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
sub as_string { |
32
|
0
|
|
|
0
|
1
|
|
my $self = shift; |
33
|
0
|
|
|
|
|
|
"$self" |
34
|
|
|
|
|
|
|
} |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
1; |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
__END__ |