| Filename | /Users/timbo/perl5/perlbrew/perls/perl-5.18.2/lib/site_perl/5.18.2/PPI/Statement/Expression.pm |
| Statements | Executed 9 statements in 3.60ms |
| Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
|---|---|---|---|---|---|
| 1 | 1 | 1 | 12µs | 23µs | PPI::Statement::Expression::BEGIN@38 |
| 1 | 1 | 1 | 8µs | 8µs | PPI::Statement::Expression::BEGIN@42 |
| 1 | 1 | 1 | 7µs | 33µs | PPI::Statement::Expression::BEGIN@41 |
| 1 | 1 | 1 | 3µs | 3µs | PPI::Statement::Expression::BEGIN@39 |
| Line | State ments |
Time on line |
Calls | Time in subs |
Code |
|---|---|---|---|---|---|
| 1 | package PPI::Statement::Expression; | ||||
| 2 | |||||
| 3 | =pod | ||||
| 4 | |||||
| 5 | =head1 NAME | ||||
| 6 | |||||
| 7 | PPI::Statement::Expression - A generic and non-specialised statement | ||||
| 8 | |||||
| 9 | =head1 SYNOPSIS | ||||
| 10 | |||||
| 11 | $foo = bar; | ||||
| 12 | ("Hello World!"); | ||||
| 13 | do_this(); | ||||
| 14 | |||||
| 15 | =head1 INHERITANCE | ||||
| 16 | |||||
| 17 | PPI::Statement::Expression | ||||
| 18 | isa PPI::Statement | ||||
| 19 | isa PPI::Node | ||||
| 20 | isa PPI::Element | ||||
| 21 | |||||
| 22 | =head1 DESCRIPTION | ||||
| 23 | |||||
| 24 | A C<PPI::Statement::Expression> is a normal statement that is evaluated, | ||||
| 25 | may or may not assign, may or may not have side effects, and has no special | ||||
| 26 | or redeeming features whatsoever. | ||||
| 27 | |||||
| 28 | It provides a default for all statements that don't fit into any other | ||||
| 29 | classes. | ||||
| 30 | |||||
| 31 | =head1 METHODS | ||||
| 32 | |||||
| 33 | C<PPI::Statement::Expression> has no additional methods beyond the default ones | ||||
| 34 | provided by L<PPI::Statement>, L<PPI::Node> and L<PPI::Element>. | ||||
| 35 | |||||
| 36 | =cut | ||||
| 37 | |||||
| 38 | 2 | 19µs | 2 | 34µs | # spent 23µs (12+11) within PPI::Statement::Expression::BEGIN@38 which was called:
# once (12µs+11µs) by PPI::Statement::BEGIN@166 at line 38 # spent 23µs making 1 call to PPI::Statement::Expression::BEGIN@38
# spent 11µs making 1 call to strict::import |
| 39 | 2 | 19µs | 1 | 3µs | # spent 3µs within PPI::Statement::Expression::BEGIN@39 which was called:
# once (3µs+0s) by PPI::Statement::BEGIN@166 at line 39 # spent 3µs making 1 call to PPI::Statement::Expression::BEGIN@39 |
| 40 | |||||
| 41 | 2 | 28µs | 2 | 59µs | # spent 33µs (7+26) within PPI::Statement::Expression::BEGIN@41 which was called:
# once (7µs+26µs) by PPI::Statement::BEGIN@166 at line 41 # spent 33µs making 1 call to PPI::Statement::Expression::BEGIN@41
# spent 26µs making 1 call to vars::import |
| 42 | # spent 8µs within PPI::Statement::Expression::BEGIN@42 which was called:
# once (8µs+0s) by PPI::Statement::BEGIN@166 at line 45 | ||||
| 43 | 1 | 300ns | $VERSION = '1.215'; | ||
| 44 | 1 | 3.50ms | @ISA = 'PPI::Statement'; | ||
| 45 | 1 | 30µs | 1 | 8µs | } # spent 8µs making 1 call to PPI::Statement::Expression::BEGIN@42 |
| 46 | |||||
| 47 | 1 | 2µs | 1; | ||
| 48 | |||||
| 49 | =pod | ||||
| 50 | |||||
| 51 | =head1 SUPPORT | ||||
| 52 | |||||
| 53 | See the L<support section|PPI/SUPPORT> in the main module. | ||||
| 54 | |||||
| 55 | =head1 AUTHOR | ||||
| 56 | |||||
| 57 | Adam Kennedy E<lt>adamk@cpan.orgE<gt> | ||||
| 58 | |||||
| 59 | =head1 COPYRIGHT | ||||
| 60 | |||||
| 61 | Copyright 2001 - 2011 Adam Kennedy. | ||||
| 62 | |||||
| 63 | This program is free software; you can redistribute | ||||
| 64 | it and/or modify it under the same terms as Perl itself. | ||||
| 65 | |||||
| 66 | The full text of the license can be found in the | ||||
| 67 | LICENSE file included with this module. | ||||
| 68 | |||||
| 69 | =cut |