| blib/lib/Proc/Simple/Async.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| statement | 12 | 12 | 100.0 |
| branch | n/a | ||
| condition | n/a | ||
| subroutine | 4 | 4 | 100.0 |
| pod | 1 | 1 | 100.0 |
| total | 17 | 17 | 100.0 |
| line | stmt | bran | cond | sub | pod | time | code |
|---|---|---|---|---|---|---|---|
| 1 | package Proc::Simple::Async; | ||||||
| 2 | |||||||
| 3 | 2 | 2 | 54954 | use Proc::Simple; | |||
| 2 | 10 | ||||||
| 2 | 2710 | ||||||
| 4 | |||||||
| 5 | require Exporter; | ||||||
| 6 | |||||||
| 7 | 2 | 2 | 12 | use strict; | |||
| 2 | 2 | ||||||
| 2 | 56 | ||||||
| 8 | 2 | 2 | 8 | use warnings; | |||
| 2 | 2 | ||||||
| 2 | 270 | ||||||
| 9 | |||||||
| 10 | our @ISA = qw/Exporter/; | ||||||
| 11 | |||||||
| 12 | our $VERSION = 0.03; | ||||||
| 13 | |||||||
| 14 | our $AUTHORITY = 'cpan:BERLE'; | ||||||
| 15 | |||||||
| 16 | our @EXPORT = qw/async/; | ||||||
| 17 | |||||||
| 18 | sub async (&;@) { | ||||||
| 19 | 2 | 2 | 1 | 46 | my $proc = Proc::Simple->new; | ||
| 20 | |||||||
| 21 | 2 | 14 | $proc->start (@_); | ||||
| 22 | |||||||
| 23 | 1 | 54 | return $proc; | ||||
| 24 | } | ||||||
| 25 | |||||||
| 26 | 1; | ||||||
| 27 | |||||||
| 28 | __END__ |