line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
|
2
|
|
|
|
|
|
|
use strict; |
3
|
11
|
|
|
11
|
|
55
|
use warnings; |
|
11
|
|
|
|
|
21
|
|
|
11
|
|
|
|
|
256
|
|
4
|
11
|
|
|
11
|
|
36
|
|
|
11
|
|
|
|
|
20
|
|
|
11
|
|
|
|
|
260
|
|
5
|
|
|
|
|
|
|
use parent 'PLS::Parser::Element'; |
6
|
11
|
|
|
11
|
|
52
|
|
|
11
|
|
|
|
|
13
|
|
|
11
|
|
|
|
|
42
|
|
7
|
|
|
|
|
|
|
=head1 NAME |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
PLS::Parser::Element::Package |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
=head1 DESCRIPTION |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
Subclass of L<PLS::Parser::Element> representing a package declaration. |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
=cut |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
{ |
18
|
|
|
|
|
|
|
my ($self) = @_; |
19
|
|
|
|
|
|
|
|
20
|
0
|
|
|
0
|
1
|
|
return $self->element->namespace; |
21
|
|
|
|
|
|
|
} |
22
|
0
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
{ |
24
|
|
|
|
|
|
|
my ($self) = @_; |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
return $self->SUPER::length() + length('package ') + length(';'); |
27
|
0
|
|
|
0
|
1
|
|
} |
28
|
|
|
|
|
|
|
|
29
|
0
|
|
|
|
|
|
1; |