line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package MooseX::ClassAttribute::Trait::Application; |
2
|
|
|
|
|
|
|
|
3
|
8
|
|
|
8
|
|
3771
|
use strict; |
|
8
|
|
|
|
|
12
|
|
|
8
|
|
|
|
|
207
|
|
4
|
8
|
|
|
8
|
|
28
|
use warnings; |
|
8
|
|
|
|
|
10
|
|
|
8
|
|
|
|
|
275
|
|
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
our $VERSION = '0.29'; |
7
|
|
|
|
|
|
|
|
8
|
8
|
|
|
8
|
|
27
|
use namespace::autoclean; |
|
8
|
|
|
|
|
10
|
|
|
8
|
|
|
|
|
39
|
|
9
|
8
|
|
|
8
|
|
336
|
use Moose::Role; |
|
8
|
|
|
|
|
11
|
|
|
8
|
|
|
|
|
42
|
|
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
after apply_attributes => sub { |
12
|
|
|
|
|
|
|
shift->_apply_class_attributes(@_); |
13
|
|
|
|
|
|
|
}; |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
1; |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
# ABSTRACT: A trait that supports role application for roles with class attributes |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
__END__ |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
=pod |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
=encoding UTF-8 |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
=head1 NAME |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
MooseX::ClassAttribute::Trait::Application - A trait that supports role application for roles with class attributes |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
=head1 VERSION |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
version 0.29 |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
=head1 DESCRIPTION |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
This trait is used to allow the application of roles containing class |
36
|
|
|
|
|
|
|
attributes. |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
=head1 BUGS |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
See L<MooseX::ClassAttribute> for details. |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
Bugs may be submitted through L<the RT bug tracker|http://rt.cpan.org/Public/Dist/Display.html?Name=MooseX-ClassAttribute> |
43
|
|
|
|
|
|
|
(or L<bug-moosex-classattribute@rt.cpan.org|mailto:bug-moosex-classattribute@rt.cpan.org>). |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
I am also usually active on IRC as 'drolsky' on C<irc://irc.perl.org>. |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
=head1 AUTHOR |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
Dave Rolsky <autarch@urth.org> |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENCE |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
This software is Copyright (c) 2016 by Dave Rolsky. |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
This is free software, licensed under: |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
The Artistic License 2.0 (GPL Compatible) |
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
=cut |