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.002'; | ||||||
3 | 1 | 1 | 72359 | use strict; | |||
1 | 6 | ||||||
1 | 30 | ||||||
4 | 1 | 1 | 5 | use warnings; | |||
1 | 2 | ||||||
1 | 23 | ||||||
5 | |||||||
6 | 1 | 1 | 4 | use XSLoader; | |||
1 | 2 | ||||||
1 | 57 | ||||||
7 | |||||||
8 | XSLoader::load(__PACKAGE__, __PACKAGE__->VERSION); | ||||||
9 | |||||||
10 | 1 | 1 | 7 | use Exporter 5.57 'import'; | |||
1 | 30 | ||||||
1 | 61 | ||||||
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__ |