| Filename | /2home/ss5/perl5/perlbrew/perls/perl-5.12.3/lib/site_perl/5.12.3/x86_64-linux/Class/MOP/Deprecated.pm |
| Statements | Executed 13 statements in 138µs |
| Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
|---|---|---|---|---|---|
| 1 | 1 | 1 | 12µs | 12µs | Class::MOP::Deprecated::BEGIN@2 |
| 1 | 1 | 1 | 9µs | 155µs | Class::MOP::Deprecated::BEGIN@12 |
| 1 | 1 | 1 | 8µs | 13µs | Class::MOP::Deprecated::BEGIN@9 |
| 1 | 1 | 1 | 8µs | 26µs | Class::MOP::Deprecated::BEGIN@10 |
| Line | State ments |
Time on line |
Calls | Time in subs |
Code |
|---|---|---|---|---|---|
| 1 | package Class::MOP::Deprecated; | ||||
| 2 | # spent 12µs within Class::MOP::Deprecated::BEGIN@2 which was called:
# once (12µs+0s) by Moose::Exporter::BEGIN@13 at line 4 | ||||
| 3 | 1 | 14µs | $Class::MOP::Deprecated::AUTHORITY = 'cpan:STEVAN'; | ||
| 4 | 1 | 30µs | 1 | 12µs | } # spent 12µs making 1 call to Class::MOP::Deprecated::BEGIN@2 |
| 5 | { | ||||
| 6 | 2 | 1µs | $Class::MOP::Deprecated::VERSION = '2.0602'; | ||
| 7 | } | ||||
| 8 | |||||
| 9 | 3 | 19µs | 2 | 18µs | # spent 13µs (8+5) within Class::MOP::Deprecated::BEGIN@9 which was called:
# once (8µs+5µs) by Moose::Exporter::BEGIN@13 at line 9 # spent 13µs making 1 call to Class::MOP::Deprecated::BEGIN@9
# spent 5µs making 1 call to strict::import |
| 10 | 3 | 31µs | 2 | 45µs | # spent 26µs (8+19) within Class::MOP::Deprecated::BEGIN@10 which was called:
# once (8µs+19µs) by Moose::Exporter::BEGIN@13 at line 10 # spent 26µs making 1 call to Class::MOP::Deprecated::BEGIN@10
# spent 18µs making 1 call to warnings::import |
| 11 | |||||
| 12 | 1 | 7µs | 1 | 146µs | # spent 155µs (9+146) within Class::MOP::Deprecated::BEGIN@12 which was called:
# once (9µs+146µs) by Moose::Exporter::BEGIN@13 at line 13 # spent 146µs making 1 call to Package::DeprecationManager::import |
| 13 | 2 | 33µs | 1 | 155µs | }; # spent 155µs making 1 call to Class::MOP::Deprecated::BEGIN@12 |
| 14 | |||||
| 15 | 1 | 3µs | 1; | ||
| 16 | |||||
| 17 | # ABSTRACT: Manages deprecation warnings for Class::MOP | ||||
| 18 | |||||
| - - | |||||
| 21 | =pod | ||||
| 22 | |||||
| 23 | =head1 NAME | ||||
| 24 | |||||
| 25 | Class::MOP::Deprecated - Manages deprecation warnings for Class::MOP | ||||
| 26 | |||||
| 27 | =head1 VERSION | ||||
| 28 | |||||
| 29 | version 2.0602 | ||||
| 30 | |||||
| 31 | =head1 DESCRIPTION | ||||
| 32 | |||||
| 33 | use Class::MOP::Deprecated -api_version => $version; | ||||
| 34 | |||||
| 35 | =head1 FUNCTIONS | ||||
| 36 | |||||
| 37 | This module manages deprecation warnings for features that have been | ||||
| 38 | deprecated in Class::MOP. | ||||
| 39 | |||||
| 40 | If you specify C<< -api_version => $version >>, you can use deprecated features | ||||
| 41 | without warnings. Note that this special treatment is limited to the package | ||||
| 42 | that loads C<Class::MOP::Deprecated>. | ||||
| 43 | |||||
| 44 | =head1 AUTHOR | ||||
| 45 | |||||
| 46 | Moose is maintained by the Moose Cabal, along with the help of many contributors. See L<Moose/CABAL> and L<Moose/CONTRIBUTORS> for details. | ||||
| 47 | |||||
| 48 | =head1 COPYRIGHT AND LICENSE | ||||
| 49 | |||||
| 50 | This software is copyright (c) 2012 by Infinity Interactive, Inc.. | ||||
| 51 | |||||
| 52 | This is free software; you can redistribute it and/or modify it under | ||||
| 53 | the same terms as the Perl 5 programming language system itself. | ||||
| 54 | |||||
| 55 | =cut | ||||
| 56 | |||||
| 57 | |||||
| 58 | __END__ |