line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package MooseX::MetaDescription::Description; |
2
|
7
|
|
|
7
|
|
42
|
use Moose; |
|
7
|
|
|
|
|
13
|
|
|
7
|
|
|
|
|
60
|
|
3
|
|
|
|
|
|
|
|
4
|
|
|
|
|
|
|
our $VERSION = '0.06'; |
5
|
|
|
|
|
|
|
our $AUTHORITY = 'cpan:STEVAN'; |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
has 'descriptor' => ( |
8
|
|
|
|
|
|
|
is => 'ro', |
9
|
|
|
|
|
|
|
does => 'MooseX::MetaDescription::Meta::Trait', |
10
|
|
|
|
|
|
|
weak_ref => 1, |
11
|
|
|
|
|
|
|
required => 1, |
12
|
|
|
|
|
|
|
); |
13
|
|
|
|
|
|
|
|
14
|
7
|
|
|
7
|
|
37946
|
no Moose; 1; |
|
7
|
|
|
|
|
18
|
|
|
7
|
|
|
|
|
40
|
|
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
__END__ |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
=pod |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
=head1 NAME |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
MooseX::MetaDescription::Description - A base class for Meta Descriptions |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
=head1 DESCRIPTION |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
This is a base class for building more complex custom meta-description |
27
|
|
|
|
|
|
|
classes. All it does by default is to provide a back-link to the original |
28
|
|
|
|
|
|
|
attribute it is describing. |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
=head1 METHODS |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
=over 4 |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
=item B<descriptor> |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
The actual attribute that is being described. |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
=item B<meta> |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
The Moose metaclass. |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
=back |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
=head1 BUGS |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
All complex software has bugs lurking in it, and this module is no |
47
|
|
|
|
|
|
|
exception. If you find a bug please either email me, or add the bug |
48
|
|
|
|
|
|
|
to cpan-RT. |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
=head1 AUTHOR |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
Stevan Little E<lt>stevan.little@iinteractive.comE<gt> |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
Copyright 2008 Infinity Interactive, Inc. |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
L<http://www.iinteractive.com> |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
This library is free software; you can redistribute it and/or modify |
61
|
|
|
|
|
|
|
it under the same terms as Perl itself. |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
=cut |