line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package CGI::Application::Plugin::HTMLPrototype; |
2
|
|
|
|
|
|
|
|
3
|
1
|
|
|
1
|
|
20960
|
use HTML::Prototype; |
|
1
|
|
|
|
|
46339
|
|
|
1
|
|
|
|
|
18
|
|
4
|
|
|
|
|
|
|
|
5
|
1
|
|
|
1
|
|
42
|
use strict; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
42
|
|
6
|
1
|
|
|
1
|
|
6
|
use vars qw($VERSION @EXPORT $PROTOTYPE); |
|
1
|
|
|
|
|
6
|
|
|
1
|
|
|
|
|
173
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
require Exporter; |
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
@EXPORT = qw( |
11
|
|
|
|
|
|
|
prototype |
12
|
|
|
|
|
|
|
); |
13
|
2
|
|
|
2
|
|
20430
|
sub import { goto &Exporter::import } |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
$VERSION = '0.20'; |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
############################################## |
19
|
|
|
|
|
|
|
### |
20
|
|
|
|
|
|
|
### prototype |
21
|
|
|
|
|
|
|
### |
22
|
|
|
|
|
|
|
############################################## |
23
|
|
|
|
|
|
|
# |
24
|
|
|
|
|
|
|
# Get an HTML::Prototype object. The same object |
25
|
|
|
|
|
|
|
# will be returned everytime this method is called. |
26
|
|
|
|
|
|
|
# |
27
|
|
|
|
|
|
|
sub prototype { |
28
|
1
|
|
|
1
|
1
|
251
|
my $class = shift; |
29
|
|
|
|
|
|
|
|
30
|
1
|
|
33
|
|
|
24
|
$PROTOTYPE ||= HTML::Prototype->new; |
31
|
1
|
|
|
|
|
23
|
return $PROTOTYPE; |
32
|
|
|
|
|
|
|
} |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
1; |
35
|
|
|
|
|
|
|
__END__ |