line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package MooX::Adopt::Class::Accessor::Fast; |
2
|
|
|
|
|
|
|
our $VERSION = '0.06'; |
3
|
|
|
|
|
|
|
|
4
|
|
|
|
|
|
|
$INC{'Class/Accessor/Fast.pm'} = __FILE__; |
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
package #don't index |
7
|
|
|
|
|
|
|
Class::Accessor::Fast; |
8
|
|
|
|
|
|
|
|
9
|
4
|
|
|
4
|
|
135998
|
use Moo; |
|
4
|
|
|
|
|
45609
|
|
|
4
|
|
|
|
|
21
|
|
10
|
4
|
|
|
4
|
|
7800
|
use namespace::clean; |
|
4
|
|
|
|
|
44919
|
|
|
4
|
|
|
|
|
27
|
|
11
|
|
|
|
|
|
|
with 'MooX::Emulate::Class::Accessor::Fast'; |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
1; |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
=head1 NAME |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
MooX::Adopt::Class::Accessor::Fast - |
18
|
|
|
|
|
|
|
Hijack Class::Accessor::Fast in %INC; |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
=head1 SYNOPSYS |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
use MooX::Adopt::Class::Accessor::Fast; |
23
|
|
|
|
|
|
|
use CAF::Using::Module; |
24
|
|
|
|
|
|
|
#that's it! JustWorks |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
=head1 DESCRIPTION |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
This module attempts to hijack L in %INC and replace it |
29
|
|
|
|
|
|
|
with L. Make sure it is loaded before the |
30
|
|
|
|
|
|
|
classes you have that use . It is meant as a tool to help |
31
|
|
|
|
|
|
|
you migrate your project from L, to |
32
|
|
|
|
|
|
|
L and ultimately, to L. |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
=head1 SEE ALSO |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
L, L, L, |
37
|
|
|
|
|
|
|
L |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
=head1 AUTHORS AND LICENSE |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
See L |
42
|
|
|
|
|
|
|
and L. |
43
|
|
|
|
|
|
|
|