blib/lib/MooseX/Role/WithOverloading/Meta/Role/Application/FixOverloadedRefs.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 MooseX::Role::WithOverloading::Meta::Role::Application::FixOverloadedRefs; | ||||||
2 | |||||||
3 | our $VERSION = '0.17'; | ||||||
4 | |||||||
5 | 9 | 9 | 7581 | use Moose::Role; | |||
9 | 19 | ||||||
9 | 59 | ||||||
6 | 9 | 9 | 45249 | use namespace::autoclean; | |||
9 | 18 | ||||||
9 | 62 | ||||||
7 | |||||||
8 | if ($] < 5.008009) { | ||||||
9 | after apply => sub { | ||||||
10 | reset_amagic($_[2]); | ||||||
11 | }; | ||||||
12 | } | ||||||
13 | |||||||
14 | 1; |