line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package HTML::Mason::Plugin::Context; |
2
|
|
|
|
|
|
|
$HTML::Mason::Plugin::Context::VERSION = '1.58'; |
3
|
32
|
|
|
32
|
|
183
|
use strict; |
|
32
|
|
|
|
|
59
|
|
|
32
|
|
|
|
|
851
|
|
4
|
32
|
|
|
32
|
|
155
|
use warnings; |
|
32
|
|
|
|
|
56
|
|
|
32
|
|
|
|
|
1350
|
|
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
#------------------------------------------------------------ |
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
package HTML::Mason::Plugin::Context::StartRequest; |
9
|
|
|
|
|
|
|
$HTML::Mason::Plugin::Context::StartRequest::VERSION = '1.58'; |
10
|
32
|
|
|
32
|
|
161
|
use base qw(HTML::Mason::Plugin::Context); |
|
32
|
|
|
|
|
56
|
|
|
32
|
|
|
|
|
6753
|
|
11
|
|
|
|
|
|
|
|
12
|
8
|
|
|
8
|
|
66
|
sub request { $_[0]->[0] } |
13
|
|
|
|
|
|
|
sub args { |
14
|
0
|
0
|
|
0
|
|
0
|
if (wantarray) { |
15
|
0
|
|
|
|
|
0
|
return @{$_[0]->[1]}; |
|
0
|
|
|
|
|
0
|
|
16
|
|
|
|
|
|
|
} else { |
17
|
0
|
|
|
|
|
0
|
return $_[0]->[1]; |
18
|
|
|
|
|
|
|
} |
19
|
|
|
|
|
|
|
} |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
#------------------------------------------------------------ |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
package HTML::Mason::Plugin::Context::EndRequest; |
24
|
|
|
|
|
|
|
$HTML::Mason::Plugin::Context::EndRequest::VERSION = '1.58'; |
25
|
32
|
|
|
32
|
|
212
|
use base qw(HTML::Mason::Plugin::Context); |
|
32
|
|
|
|
|
61
|
|
|
32
|
|
|
|
|
6569
|
|
26
|
|
|
|
|
|
|
|
27
|
8
|
|
|
8
|
|
59
|
sub request { $_[0]->[0] } |
28
|
|
|
|
|
|
|
sub args { |
29
|
0
|
0
|
|
0
|
|
0
|
if (wantarray) { |
30
|
0
|
|
|
|
|
0
|
return @{$_[0]->[1]}; |
|
0
|
|
|
|
|
0
|
|
31
|
|
|
|
|
|
|
} else { |
32
|
0
|
|
|
|
|
0
|
return $_[0]->[1]; |
33
|
|
|
|
|
|
|
} |
34
|
|
|
|
|
|
|
} |
35
|
1
|
|
|
1
|
|
13
|
sub output { $_[0]->[2] } |
36
|
0
|
|
|
0
|
|
0
|
sub wantarray { $_[0]->[3] } |
37
|
2
|
|
|
2
|
|
19
|
sub result { $_[0]->[4] } |
38
|
1
|
|
|
1
|
|
9
|
sub error { $_[0]->[5] } |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
#------------------------------------------------------------ |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
package HTML::Mason::Plugin::Context::StartComponent; |
43
|
|
|
|
|
|
|
$HTML::Mason::Plugin::Context::StartComponent::VERSION = '1.58'; |
44
|
32
|
|
|
32
|
|
214
|
use base qw(HTML::Mason::Plugin::Context); |
|
32
|
|
|
|
|
53
|
|
|
32
|
|
|
|
|
4541
|
|
45
|
|
|
|
|
|
|
|
46
|
0
|
|
|
0
|
|
0
|
sub request { $_[0]->[0] } |
47
|
41
|
|
|
41
|
|
229
|
sub comp { $_[0]->[1] } |
48
|
0
|
|
|
0
|
|
0
|
sub args { $_[0]->[2] } |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
#------------------------------------------------------------ |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
package HTML::Mason::Plugin::Context::EndComponent; |
53
|
|
|
|
|
|
|
$HTML::Mason::Plugin::Context::EndComponent::VERSION = '1.58'; |
54
|
32
|
|
|
32
|
|
197
|
use base qw(HTML::Mason::Plugin::Context); |
|
32
|
|
|
|
|
71
|
|
|
32
|
|
|
|
|
5221
|
|
55
|
|
|
|
|
|
|
|
56
|
0
|
|
|
0
|
|
0
|
sub request { $_[0]->[0] } |
57
|
43
|
|
|
43
|
|
208
|
sub comp { $_[0]->[1] } |
58
|
0
|
|
|
0
|
|
0
|
sub args { $_[0]->[2] } |
59
|
0
|
|
|
0
|
|
0
|
sub wantarray { $_[0]->[3] } |
60
|
4
|
|
|
4
|
|
25
|
sub result { $_[0]->[4] } |
61
|
2
|
|
|
2
|
|
15
|
sub error { $_[0]->[5] } |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
#------------------------------------------------------------ |
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
1; |
66
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
__END__ |