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