blib/lib/Evo/Lib/XS.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 3 | 3 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 1 | 1 | 100.0 |
pod | n/a | ||
total | 4 | 4 | 100.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package Evo::Lib::XS; | ||||||
2 | 8 | 8 | 44 | use Evo 'XSLoader; -Export'; | |||
8 | 15 | ||||||
8 | 36 | ||||||
3 | |||||||
4 | our $VERSION = '0.0403'; # VERSION | ||||||
5 | |||||||
6 | # to be able to run with and without dzil | ||||||
7 | my $version = eval '$VERSION'; ## no critic | ||||||
8 | $version ? XSLoader::load(__PACKAGE__, $version) : XSLoader::load(__PACKAGE__); | ||||||
9 | |||||||
10 | export('try'); | ||||||
11 | |||||||
12 | 1; | ||||||
13 | |||||||
14 | __END__ |