| blib/lib/Sub/Prototype.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 | 1 | 1 | 58818 | use strict; | |||
| 1 | 9 | ||||||
| 1 | 29 | ||||||
| 2 | 1 | 1 | 4 | use warnings; | |||
| 1 | 1 | ||||||
| 1 | 54 | ||||||
| 3 | |||||||
| 4 | package Sub::Prototype; # git description: 0.02-3-gb5d237a | ||||||
| 5 | # ABSTRACT: Set a sub's prototype | ||||||
| 6 | |||||||
| 7 | require 5.008001; | ||||||
| 8 | |||||||
| 9 | 1 | 1 | 5 | use XSLoader; | |||
| 1 | 2 | ||||||
| 1 | 64 | ||||||
| 10 | |||||||
| 11 | our $VERSION = '0.03'; | ||||||
| 12 | |||||||
| 13 | XSLoader::load(__PACKAGE__, $VERSION); | ||||||
| 14 | |||||||
| 15 | 1 | 8 | use Sub::Exporter -setup => { | ||||
| 16 | exports => ['set_prototype'], | ||||||
| 17 | groups => { default => ['set_prototype'] }, | ||||||
| 18 | 1 | 1 | 520 | }; | |||
| 1 | 10325 | ||||||
| 19 | |||||||
| 20 | 1; | ||||||
| 21 | |||||||
| 22 | __END__ |