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             our $VERSION = '0.05';
3              
4             $INC{'Class/Accessor/Fast.pm'} = __FILE__;
5              
6             package #don't index
7             Class::Accessor::Fast;
8              
9 4     4   136749 use Moo;
  4         45336  
  4         23  
10 4     4   8155 use namespace::clean;
  4         45041  
  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 AUTHOR
40              
41             Aran Clary Deltac
42              
43             Original code, tests, and documentation taken from
44             L. Thanks!
45              
46             =head1 LICENSE
47              
48             This library is free software; you can redistribute it and/or modify
49             it under the same terms as Perl itself.