line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package HTML::Mason::Plugin; |
2
|
|
|
|
|
|
|
$HTML::Mason::Plugin::VERSION = '1.58'; |
3
|
1
|
|
|
1
|
|
473
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
25
|
|
4
|
1
|
|
|
1
|
|
4
|
use warnings; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
79
|
|
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
sub new { |
7
|
24
|
|
|
24
|
0
|
54
|
my $class = shift; |
8
|
24
|
|
|
|
|
65
|
bless { @_ }, $class; |
9
|
|
|
|
|
|
|
} |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
14
|
1
|
|
sub start_request_hook { |
12
|
|
|
|
|
|
|
# my ($self, $context) = @_; |
13
|
|
|
|
|
|
|
# $context has: request, args |
14
|
|
|
|
|
|
|
} |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
9
|
1
|
|
sub end_request_hook { |
17
|
|
|
|
|
|
|
# my ($self, $context) = @_; |
18
|
|
|
|
|
|
|
# $context has: request, args, output, wantarray, result, error |
19
|
|
|
|
|
|
|
} |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
33
|
1
|
|
sub start_component_hook { |
22
|
|
|
|
|
|
|
# my ($self, $context) = @_; |
23
|
|
|
|
|
|
|
# $context has: request, comp, args |
24
|
|
|
|
|
|
|
} |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
24
|
1
|
|
sub end_component_hook { |
27
|
|
|
|
|
|
|
# my ($self, $context) = @_; |
28
|
|
|
|
|
|
|
# $context has: request, comp, args, wantarray, result, error |
29
|
|
|
|
|
|
|
} |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
1; |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
__END__ |