File Coverage

blib/lib/MooX/Adopt/Class/Accessor/Fast.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1             package MooX::Adopt::Class::Accessor::Fast;
2              
3             $MooX::Adopt::Class::Accessor::Fast::VERSION = '0.04';
4              
5             $INC{'Class/Accessor/Fast.pm'} = __FILE__;
6              
7             package #don't index
8             Class::Accessor::Fast;
9              
10 4     4   751867 use Moo;
  4         42477  
  4         19  
11 4     4   5131 use strictures 2;
  4         36  
  4         162  
12             with 'MooX::Emulate::Class::Accessor::Fast';
13              
14             1;
15              
16             =head1 NAME
17              
18             MooX::Adopt::Class::Accessor::Fast -
19             Hijack Class::Accessor::Fast in %INC;
20              
21             =head1 SYNOPSYS
22              
23             use MooX::Adopt::Class::Accessor::Fast;
24             use CAF::Using::Module;
25             #that's it! JustWorks
26              
27             =head1 DESCRIPTION
28              
29             This module attempts to hijack L in %INC and replace it
30             with L. Make sure it is loaded before the
31             classes you have that use . It is meant as a tool to help
32             you migrate your project from L, to
33             L and ultimately, to L.
34              
35             =head1 SEE ALSO
36              
37             L, L, L,
38             L
39              
40             =head1 AUTHOR
41              
42             Aran Clary Deltac
43              
44             Original code, tests, and documentation taken from
45             L. Thanks!
46              
47             =head1 LICENSE
48              
49             This library is free software; you can redistribute it and/or modify
50             it under the same terms as Perl itself.