Filename | /Users/timbo/perl5/perlbrew/perls/perl-5.18.2/lib/site_perl/5.18.2/PPI/Statement/End.pm |
Statements | Executed 9 statements in 122µs |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
1 | 1 | 1 | 11µs | 23µs | BEGIN@47 | PPI::Statement::End::
1 | 1 | 1 | 8µs | 8µs | BEGIN@51 | PPI::Statement::End::
1 | 1 | 1 | 6µs | 34µs | BEGIN@50 | PPI::Statement::End::
1 | 1 | 1 | 3µs | 3µs | BEGIN@48 | PPI::Statement::End::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | package PPI::Statement::End; | ||||
2 | |||||
3 | =pod | ||||
4 | |||||
5 | =head1 NAME | ||||
6 | |||||
7 | PPI::Statement::End - Content after the __END__ of a module | ||||
8 | |||||
9 | =head1 SYNOPSIS | ||||
10 | |||||
11 | # This is normal content | ||||
12 | |||||
13 | __END__ | ||||
14 | |||||
15 | This is part of an PPI::Statement::End statement | ||||
16 | |||||
17 | =pod | ||||
18 | |||||
19 | This is not part of the ::End statement, it's POD | ||||
20 | |||||
21 | =cut | ||||
22 | |||||
23 | This is another PPI::Statement::End statement | ||||
24 | |||||
25 | =head1 INHERITANCE | ||||
26 | |||||
27 | PPI::Statement::End | ||||
28 | isa PPI::Statement | ||||
29 | isa PPI::Node | ||||
30 | isa PPI::Element | ||||
31 | |||||
32 | =head1 DESCRIPTION | ||||
33 | |||||
34 | C<PPI::Statement::End> is a utility class designed to serve as a contained | ||||
35 | for all of the content after the __END__ tag in a file. | ||||
36 | |||||
37 | It doesn't cover the ENTIRE of the __END__ section, and can be interspersed | ||||
38 | with L<PPI::Token::Pod> tokens. | ||||
39 | |||||
40 | =head1 METHODS | ||||
41 | |||||
42 | C<PPI::Statement::End> has no additional methods beyond the default ones | ||||
43 | provided by L<PPI::Statement>, L<PPI::Node> and L<PPI::Element>. | ||||
44 | |||||
45 | =cut | ||||
46 | |||||
47 | 2 | 18µs | 2 | 34µs | # spent 23µs (11+11) within PPI::Statement::End::BEGIN@47 which was called:
# once (11µs+11µs) by PPI::Statement::BEGIN@165 at line 47 # spent 23µs making 1 call to PPI::Statement::End::BEGIN@47
# spent 11µs making 1 call to strict::import |
48 | 2 | 27µs | 1 | 3µs | # spent 3µs within PPI::Statement::End::BEGIN@48 which was called:
# once (3µs+0s) by PPI::Statement::BEGIN@165 at line 48 # spent 3µs making 1 call to PPI::Statement::End::BEGIN@48 |
49 | |||||
50 | 2 | 32µs | 2 | 62µs | # spent 34µs (6+28) within PPI::Statement::End::BEGIN@50 which was called:
# once (6µs+28µs) by PPI::Statement::BEGIN@165 at line 50 # spent 34µs making 1 call to PPI::Statement::End::BEGIN@50
# spent 28µs making 1 call to vars::import |
51 | # spent 8µs within PPI::Statement::End::BEGIN@51 which was called:
# once (8µs+0s) by PPI::Statement::BEGIN@165 at line 54 | ||||
52 | 1 | 300ns | $VERSION = '1.215'; | ||
53 | 1 | 9µs | @ISA = 'PPI::Statement'; | ||
54 | 1 | 34µs | 1 | 8µs | } # spent 8µs making 1 call to PPI::Statement::End::BEGIN@51 |
55 | |||||
56 | # Once we have an __END__ we're done | ||||
57 | sub _complete () { 1 } | ||||
58 | |||||
59 | 1 | 2µs | 1; | ||
60 | |||||
61 | =pod | ||||
62 | |||||
63 | =head1 SUPPORT | ||||
64 | |||||
65 | See the L<support section|PPI/SUPPORT> in the main module. | ||||
66 | |||||
67 | =head1 AUTHOR | ||||
68 | |||||
69 | Adam Kennedy E<lt>adamk@cpan.orgE<gt> | ||||
70 | |||||
71 | =head1 COPYRIGHT | ||||
72 | |||||
73 | Copyright 2001 - 2011 Adam Kennedy. | ||||
74 | |||||
75 | This program is free software; you can redistribute | ||||
76 | it and/or modify it under the same terms as Perl itself. | ||||
77 | |||||
78 | The full text of the license can be found in the | ||||
79 | LICENSE file included with this module. | ||||
80 | |||||
81 | =cut |