| File | /usr/local/lib/perl5/site_perl/5.10.1/MooseX/AttributeHelpers/Bool.pm |
| Statements Executed | 12 |
| Statement Execution Time | 159µs |
| Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
|---|---|---|---|---|---|
| 1 | 1 | 1 | 14µs | 2.30ms | MooseX::AttributeHelpers::Bool::BEGIN@2 |
| 1 | 1 | 1 | 10µs | 98µs | MooseX::AttributeHelpers::Bool::BEGIN@11 |
| 0 | 0 | 0 | 0s | 0s | Moose::Meta::Attribute::Custom::Bool::register_implementation |
| Line | State ments |
Time on line |
Calls | Time in subs |
Code |
|---|---|---|---|---|---|
| 1 | package MooseX::AttributeHelpers::Bool; | ||||
| 2 | 3 | 61µs | 2 | 4.58ms | # spent 2.30ms (14µs+2.28) within MooseX::AttributeHelpers::Bool::BEGIN@2 which was called
# once (14µs+2.28ms) by MooseX::AttributeHelpers::BEGIN@26 at line 2 # spent 2.30ms making 1 call to MooseX::AttributeHelpers::Bool::BEGIN@2
# spent 2.28ms making 1 call to Moose::Exporter::__ANON__[Moose/Exporter.pm:389] |
| 3 | |||||
| 4 | 1 | 600ns | our $VERSION = '0.23'; | ||
| 5 | 1 | 14µs | $VERSION = eval $VERSION; | ||
| 6 | 1 | 300ns | our $AUTHORITY = 'cpan:STEVAN'; | ||
| 7 | |||||
| 8 | 1 | 2µs | 1 | 360µs | extends 'Moose::Meta::Attribute'; # spent 360µs making 1 call to Moose::extends |
| 9 | 1 | 2µs | 1 | 8.22ms | with 'MooseX::AttributeHelpers::Trait::Bool'; # spent 8.22ms making 1 call to Moose::with |
| 10 | |||||
| 11 | 3 | 60µs | 2 | 186µs | # spent 98µs (10+88) within MooseX::AttributeHelpers::Bool::BEGIN@11 which was called
# once (10µs+88µs) by MooseX::AttributeHelpers::BEGIN@26 at line 11 # spent 98µs making 1 call to MooseX::AttributeHelpers::Bool::BEGIN@11
# spent 88µs making 1 call to Moose::Exporter::__ANON__[Moose/Exporter.pm:478] |
| 12 | |||||
| 13 | # register the alias ... | ||||
| 14 | package # hide me from search.cpan.org | ||||
| 15 | Moose::Meta::Attribute::Custom::Bool; | ||||
| 16 | sub register_implementation { 'MooseX::AttributeHelpers::Bool' } | ||||
| 17 | |||||
| 18 | 1 | 20µs | 1; | ||
| 19 | |||||
| 20 | __END__ | ||||
| 21 | |||||
| 22 | =pod | ||||
| 23 | |||||
| 24 | =head1 NAME | ||||
| 25 | |||||
| 26 | MooseX::AttributeHelpers::Bool | ||||
| 27 | |||||
| 28 | =head1 METHODS | ||||
| 29 | |||||
| 30 | =over 4 | ||||
| 31 | |||||
| 32 | =item B<meta> | ||||
| 33 | |||||
| 34 | =item B<method_provider> | ||||
| 35 | |||||
| 36 | =item B<has_method_provider> | ||||
| 37 | |||||
| 38 | =item B<helper_type> | ||||
| 39 | |||||
| 40 | =item B<process_options_for_provides> | ||||
| 41 | |||||
| 42 | Run before its superclass method. | ||||
| 43 | |||||
| 44 | =item B<check_provides_values> | ||||
| 45 | |||||
| 46 | Run after its superclass method. | ||||
| 47 | |||||
| 48 | =back | ||||
| 49 | |||||
| 50 | =head1 BUGS | ||||
| 51 | |||||
| 52 | All complex software has bugs lurking in it, and this module is no | ||||
| 53 | exception. If you find a bug please either email me, or add the bug | ||||
| 54 | to cpan-RT. | ||||
| 55 | |||||
| 56 | =head1 AUTHOR | ||||
| 57 | |||||
| 58 | Stevan Little E<lt>stevan@iinteractive.comE<gt> | ||||
| 59 | |||||
| 60 | =head1 COPYRIGHT AND LICENSE | ||||
| 61 | |||||
| 62 | Copyright 2007-2009 by Infinity Interactive, Inc. | ||||
| 63 | |||||
| 64 | L<http://www.iinteractive.com> | ||||
| 65 | |||||
| 66 | This library is free software; you can redistribute it and/or modify | ||||
| 67 | it under the same terms as Perl itself. | ||||
| 68 | |||||
| 69 | =cut | ||||
| 70 |