blib/lib/Magic/Coerce.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 12 | 12 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 4 | 4 | 100.0 |
pod | n/a | ||
total | 16 | 16 | 100.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package Magic::Coerce; | ||||||
2 | $Magic::Coerce::VERSION = '0.001'; | ||||||
3 | 1 | 1 | 71984 | use strict; | |||
1 | 7 | ||||||
1 | 28 | ||||||
4 | 1 | 1 | 5 | use warnings; | |||
1 | 2 | ||||||
1 | 22 | ||||||
5 | |||||||
6 | 1 | 1 | 5 | use XSLoader; | |||
1 | 1 | ||||||
1 | 71 | ||||||
7 | |||||||
8 | XSLoader::load(__PACKAGE__, __PACKAGE__->VERSION); | ||||||
9 | |||||||
10 | 1 | 1 | 6 | use Exporter 5.57 'import'; | |||
1 | 19 | ||||||
1 | 68 | ||||||
11 | our @EXPORT = qw/coerce_int coerce_float coerce_string coerce_callback/; | ||||||
12 | |||||||
13 | 1; | ||||||
14 | |||||||
15 | # ABSTRACT: magical coercers for scalar values | ||||||
16 | |||||||
17 | __END__ |