| File | /usr/lib/perl5/vendor_perl/5.10.1/YAML/Tag.pm |
| Statements Executed | 11 |
| Statement Execution Time | 834µs |
| Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
|---|---|---|---|---|---|
| 1 | 1 | 1 | 48µs | 59µs | YAML::Tag::BEGIN@3 |
| 1 | 1 | 1 | 43µs | 198µs | YAML::Tag::BEGIN@8 |
| 1 | 1 | 1 | 32µs | 90µs | YAML::Tag::BEGIN@4 |
| 0 | 0 | 0 | 0s | 0s | YAML::Tag::__ANON__[:8] |
| 0 | 0 | 0 | 0s | 0s | YAML::Tag::canonical |
| 0 | 0 | 0 | 0s | 0s | YAML::Tag::new |
| 0 | 0 | 0 | 0s | 0s | YAML::Tag::short |
| Line | State ments |
Time on line |
Calls | Time in subs |
Code |
|---|---|---|---|---|---|
| 1 | package YAML::Tag; | ||||
| 2 | |||||
| 3 | 3 | 272µs | 2 | 71µs | # spent 59µs (48+12) within YAML::Tag::BEGIN@3 which was called
# once (48µs+12µs) by YAML::Node::BEGIN@7 at line 3 # spent 59µs making 1 call to YAML::Tag::BEGIN@3
# spent 12µs making 1 call to strict::import |
| 4 | 3 | 206µs | 2 | 148µs | # spent 90µs (32+58) within YAML::Tag::BEGIN@4 which was called
# once (32µs+58µs) by YAML::Node::BEGIN@7 at line 4 # spent 90µs making 1 call to YAML::Tag::BEGIN@4
# spent 58µs making 1 call to warnings::import |
| 5 | |||||
| 6 | 1 | 3µs | our $VERSION = '0.71'; | ||
| 7 | |||||
| 8 | 3 | 344µs | 2 | 352µs | # spent 198µs (43+154) within YAML::Tag::BEGIN@8 which was called
# once (43µs+154µs) by YAML::Node::BEGIN@7 at line 8 # spent 198µs making 1 call to YAML::Tag::BEGIN@8
# spent 154µs making 1 call to overload::import |
| 9 | |||||
| 10 | sub new { | ||||
| 11 | my ($class, $self) = @_; | ||||
| 12 | bless \$self, $class | ||||
| 13 | } | ||||
| 14 | |||||
| 15 | sub short { | ||||
| 16 | ${$_[0]} | ||||
| 17 | } | ||||
| 18 | |||||
| 19 | sub canonical { | ||||
| 20 | ${$_[0]} | ||||
| 21 | } | ||||
| 22 | |||||
| 23 | 1 | 8µs | 1; | ||
| 24 | |||||
| 25 | __END__ | ||||
| 26 | |||||
| 27 | =head1 NAME | ||||
| 28 | |||||
| 29 | YAML::Tag - Tag URI object class for YAML | ||||
| 30 | |||||
| 31 | =head1 SYNOPSIS | ||||
| 32 | |||||
| 33 | use YAML::Tag; | ||||
| 34 | |||||
| 35 | =head1 DESCRIPTION | ||||
| 36 | |||||
| 37 | Used by YAML::Node. | ||||
| 38 | |||||
| 39 | =head1 AUTHOR | ||||
| 40 | |||||
| 41 | Ingy döt Net <ingy@cpan.org> | ||||
| 42 | |||||
| 43 | =head1 COPYRIGHT | ||||
| 44 | |||||
| 45 | Copyright (c) 2006. Ingy döt Net. All rights reserved. | ||||
| 46 | |||||
| 47 | This program is free software; you can redistribute it and/or modify it | ||||
| 48 | under the same terms as Perl itself. | ||||
| 49 | |||||
| 50 | See L<http://www.perl.com/perl/misc/Artistic.html> | ||||
| 51 | |||||
| 52 | =cut |