File | /usr/local/lib/perl/5.10.0/Moose/Meta/Instance.pm |
Statements Executed | 17 |
Total Time | 0.0002205 seconds |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
0 | 0 | 0 | 0s | 0s | BEGIN | Moose::Meta::Instance::
Line | Stmts. | Exclusive Time | Avg. | Code |
---|---|---|---|---|
1 | ||||
2 | package Moose::Meta::Instance; | |||
3 | ||||
4 | 3 | 26µs | 9µs | use strict; # spent 11µs making 1 call to strict::import |
5 | 3 | 66µs | 22µs | use warnings; # spent 28µs making 1 call to warnings::import |
6 | ||||
7 | 1 | 800ns | 800ns | our $VERSION = '1.15'; |
8 | 1 | 26µs | 26µs | $VERSION = eval $VERSION; |
9 | 1 | 600ns | 600ns | our $AUTHORITY = 'cpan:STEVAN'; |
10 | ||||
11 | 3 | 39µs | 13µs | use Class::MOP::MiniTrait; # spent 15µs making 1 call to import |
12 | ||||
13 | 3 | 45µs | 15µs | use base "Class::MOP::Instance"; # spent 81µs making 1 call to base::import |
14 | ||||
15 | 1 | 8µs | 8µs | Class::MOP::MiniTrait::apply(__PACKAGE__, 'Moose::Meta::Object::Trait'); # spent 2.41ms making 1 call to Class::MOP::MiniTrait::apply |
16 | ||||
17 | 1 | 9µs | 9µs | 1; |
18 | ||||
19 | __END__ | |||
20 | ||||
21 | =pod | |||
22 | ||||
23 | =head1 NAME | |||
24 | ||||
25 | Moose::Meta::Instance - The Moose Instance metaclass | |||
26 | ||||
27 | =head1 SYNOPSIS | |||
28 | ||||
29 | # nothing to see here | |||
30 | ||||
31 | =head1 DESCRIPTION | |||
32 | ||||
33 | This class provides the low level data storage abstractions for | |||
34 | attributes. | |||
35 | ||||
36 | Using this API directly in your own code violates encapsulation, and | |||
37 | we recommend that you use the appropriate APIs in | |||
38 | L<Moose::Meta::Class> and L<Moose::Meta::Attribute> instead. Those | |||
39 | APIs in turn call the methods in this class as appropriate. | |||
40 | ||||
41 | At present, this is an empty subclass of L<Class::MOP::Instance>, so | |||
42 | you should see that class for all API details. | |||
43 | ||||
44 | =head1 INHERITANCE | |||
45 | ||||
46 | C<Moose::Meta::Instance> is a subclass of L<Class::MOP::Instance>. | |||
47 | ||||
48 | =head1 BUGS | |||
49 | ||||
50 | See L<Moose/BUGS> for details on reporting bugs. | |||
51 | ||||
52 | =head1 AUTHOR | |||
53 | ||||
54 | Stevan Little E<lt>stevan@iinteractive.comE<gt> | |||
55 | ||||
56 | Yuval Kogman E<lt>nothingmuch@woobling.comE<gt> | |||
57 | ||||
58 | =head1 COPYRIGHT AND LICENSE | |||
59 | ||||
60 | Copyright 2006-2010 by Infinity Interactive, Inc. | |||
61 | ||||
62 | L<http://www.iinteractive.com> | |||
63 | ||||
64 | This library is free software; you can redistribute it and/or modify | |||
65 | it under the same terms as Perl itself. | |||
66 | ||||
67 | =cut |