| Filename | /home/ss5/perl5/perlbrew/perls/perl-5.14.1/lib/site_perl/5.14.1/Data/DPath/Attrs.pm |
| Statements | Executed 10 statements in 623µs |
| Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
|---|---|---|---|---|---|
| 1 | 1 | 1 | 40µs | 723µs | Data::DPath::Attrs::BEGIN@14 |
| 1 | 1 | 1 | 34µs | 34µs | Data::DPath::Attrs::BEGIN@2 |
| 1 | 1 | 1 | 29µs | 43µs | Data::DPath::Attrs::BEGIN@10 |
| 1 | 1 | 1 | 27µs | 51µs | Data::DPath::Attrs::BEGIN@11 |
| Line | State ments |
Time on line |
Calls | Time in subs |
Code |
|---|---|---|---|---|---|
| 1 | package Data::DPath::Attrs; | ||||
| 2 | # spent 34µs within Data::DPath::Attrs::BEGIN@2 which was called:
# once (34µs+0s) by Data::DPath::Context::BEGIN@1.3 at line 4 | ||||
| 3 | 1 | 20µs | $Data::DPath::Attrs::AUTHORITY = 'cpan:SCHWIGON'; | ||
| 4 | 1 | 132µs | 1 | 34µs | } # spent 34µs making 1 call to Data::DPath::Attrs::BEGIN@2 |
| 5 | { | ||||
| 6 | 2 | 4µs | $Data::DPath::Attrs::VERSION = '0.48'; | ||
| 7 | } | ||||
| 8 | # ABSTRACT: Abstraction for internal attributes attached to a point | ||||
| 9 | |||||
| 10 | 2 | 89µs | 2 | 58µs | # spent 43µs (29+14) within Data::DPath::Attrs::BEGIN@10 which was called:
# once (29µs+14µs) by Data::DPath::Context::BEGIN@1.3 at line 10 # spent 43µs making 1 call to Data::DPath::Attrs::BEGIN@10
# spent 14µs making 1 call to strict::import |
| 11 | 2 | 159µs | 2 | 75µs | # spent 51µs (27+24) within Data::DPath::Attrs::BEGIN@11 which was called:
# once (27µs+24µs) by Data::DPath::Context::BEGIN@1.3 at line 11 # spent 51µs making 1 call to Data::DPath::Attrs::BEGIN@11
# spent 24µs making 1 call to warnings::import |
| 12 | |||||
| 13 | use Class::XSAccessor # ::Array | ||||
| 14 | 1 | 23µs | 1 | 683µs | # spent 723µs (40+683) within Data::DPath::Attrs::BEGIN@14 which was called:
# once (40µs+683µs) by Data::DPath::Context::BEGIN@1.3 at line 16 # spent 683µs making 1 call to Class::XSAccessor::import |
| 15 | constructor => 'new', | ||||
| 16 | 1 | 186µs | 1 | 723µs | accessors => [qw( key )]; # spent 723µs making 1 call to Data::DPath::Attrs::BEGIN@14 |
| 17 | |||||
| 18 | 1 | 11µs | 1; | ||
| 19 | |||||
| - - | |||||
| 22 | =pod | ||||
| 23 | |||||
| 24 | =encoding utf-8 | ||||
| 25 | |||||
| 26 | =head1 NAME | ||||
| 27 | |||||
| 28 | Data::DPath::Attrs - Abstraction for internal attributes attached to a point | ||||
| 29 | |||||
| 30 | =head1 INTERNAL METHODS | ||||
| 31 | |||||
| 32 | =head2 new | ||||
| 33 | |||||
| 34 | Constructor. | ||||
| 35 | |||||
| 36 | =head2 key | ||||
| 37 | |||||
| 38 | Attribute / accessor. | ||||
| 39 | |||||
| 40 | The key actual hash key under which the point is located in case it's | ||||
| 41 | the value of a hash entry. | ||||
| 42 | |||||
| 43 | =head1 AUTHOR | ||||
| 44 | |||||
| 45 | Steffen Schwigon <ss5@renormalist.net> | ||||
| 46 | |||||
| 47 | =head1 COPYRIGHT AND LICENSE | ||||
| 48 | |||||
| 49 | This software is copyright (c) 2012 by Steffen Schwigon. | ||||
| 50 | |||||
| 51 | This is free software; you can redistribute it and/or modify it under | ||||
| 52 | the same terms as the Perl 5 programming language system itself. | ||||
| 53 | |||||
| 54 | =cut | ||||
| 55 | |||||
| 56 | |||||
| 57 | __END__ |