line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
# |
2
|
|
|
|
|
|
|
# This file is part of MooseX-TrackDirty-Attributes |
3
|
|
|
|
|
|
|
# |
4
|
|
|
|
|
|
|
# This software is Copyright (c) 2011 by Chris Weyl. |
5
|
|
|
|
|
|
|
# |
6
|
|
|
|
|
|
|
# This is free software, licensed under: |
7
|
|
|
|
|
|
|
# |
8
|
|
|
|
|
|
|
# The GNU Lesser General Public License, Version 2.1, February 1999 |
9
|
|
|
|
|
|
|
# |
10
|
|
|
|
|
|
|
package MooseX::TrackDirty::Attributes::Util; |
11
|
|
|
|
|
|
|
{ |
12
|
|
|
|
|
|
|
$MooseX::TrackDirty::Attributes::Util::VERSION = '1.900'; # TRIAL |
13
|
|
|
|
|
|
|
} |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
# ABSTRACT: Laziness -- alias functions |
16
|
|
|
|
|
|
|
|
17
|
11
|
|
|
11
|
|
28060
|
use strict; |
|
11
|
|
|
|
|
16
|
|
|
11
|
|
|
|
|
319
|
|
18
|
11
|
|
|
11
|
|
35
|
use warnings; |
|
11
|
|
|
|
|
14
|
|
|
11
|
|
|
|
|
540
|
|
19
|
|
|
|
|
|
|
|
20
|
11
|
|
|
|
|
130
|
use Sub::Exporter -setup => { |
21
|
|
|
|
|
|
|
exports => [ qw{ |
22
|
|
|
|
|
|
|
trait_for application |
23
|
|
|
|
|
|
|
Composite ToRole ToClass ToInstance |
24
|
|
|
|
|
|
|
AccessorNativeTrait TrackDirtyNativeTrait |
25
|
|
|
|
|
|
|
} ], |
26
|
|
|
|
|
|
|
groups => { default => ':all' }, |
27
|
11
|
|
|
11
|
|
46
|
}; |
|
11
|
|
|
|
|
12
|
|
28
|
|
|
|
|
|
|
|
29
|
139
|
|
|
139
|
0
|
19497
|
sub trait_for($) { "MooseX::TrackDirty::Attributes::Trait::$_[0]" } |
30
|
44
|
|
|
44
|
0
|
79
|
sub application($) { trait_for "Role::Application::$_[0]" } |
31
|
3
|
|
|
3
|
0
|
24
|
sub Composite() { trait_for 'Role::Composite' } |
32
|
15
|
|
|
15
|
0
|
26
|
sub ToInstance() { application 'ToInstance' } |
33
|
15
|
|
|
15
|
0
|
40
|
sub ToClass() { application 'ToClass' } |
34
|
14
|
|
|
14
|
0
|
30
|
sub ToRole() { application 'ToRole' } |
35
|
35
|
|
|
35
|
0
|
948
|
sub TrackDirtyNativeTrait() { trait_for 'Attribute::Native::Trait' } |
36
|
30
|
|
|
30
|
0
|
80
|
sub AccessorNativeTrait() { trait_for 'Method::Accessor::Native' } |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
!!42; |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
=pod |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
=encoding utf-8 |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
=head1 NAME |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
MooseX::TrackDirty::Attributes::Util - Laziness -- alias functions |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
=head1 VERSION |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
This document describes 1.900 of MooseX::TrackDirty::Attributes::Util - released February 15, 2012 as part of MooseX-TrackDirty-Attributes. |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
=for Pod::Coverage trait_for application Composite ^To.*$ TrackDirtyNativeTrait AccessorNativeTrait |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
=head1 SEE ALSO |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
Please see those modules/websites for more information related to this module. |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
=over 4 |
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
=item * |
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
L<MooseX::TrackDirty::Attributes|MooseX::TrackDirty::Attributes> |
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
=back |
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
=head1 SOURCE |
69
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
The development version is on github at L<http://github.com/RsrchBoy/moosex-trackdirty-attributes> |
71
|
|
|
|
|
|
|
and may be cloned from L<git://github.com/RsrchBoy/moosex-trackdirty-attributes.git> |
72
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
=head1 BUGS |
74
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
Please report any bugs or feature requests on the bugtracker website |
76
|
|
|
|
|
|
|
https://github.com/RsrchBoy/moosex-trackdirty-attributes/issues |
77
|
|
|
|
|
|
|
|
78
|
|
|
|
|
|
|
When submitting a bug or request, please include a test-file or a |
79
|
|
|
|
|
|
|
patch to an existing test-file that illustrates the bug or desired |
80
|
|
|
|
|
|
|
feature. |
81
|
|
|
|
|
|
|
|
82
|
|
|
|
|
|
|
=head1 AUTHOR |
83
|
|
|
|
|
|
|
|
84
|
|
|
|
|
|
|
Chris Weyl <cweyl@alumni.drew.edu> |
85
|
|
|
|
|
|
|
|
86
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
87
|
|
|
|
|
|
|
|
88
|
|
|
|
|
|
|
This software is Copyright (c) 2011 by Chris Weyl. |
89
|
|
|
|
|
|
|
|
90
|
|
|
|
|
|
|
This is free software, licensed under: |
91
|
|
|
|
|
|
|
|
92
|
|
|
|
|
|
|
The GNU Lesser General Public License, Version 2.1, February 1999 |
93
|
|
|
|
|
|
|
|
94
|
|
|
|
|
|
|
=cut |
95
|
|
|
|
|
|
|
|
96
|
|
|
|
|
|
|
|
97
|
|
|
|
|
|
|
__END__ |
98
|
|
|
|
|
|
|
|