| 1 | package Proc::Simple::Async; | ||
| 2 | |||
| 3 | use Proc::Simple; | ||
| 4 | |||
| 5 | require Exporter; | ||
| 6 | |||
| 7 | use strict; | ||
| 8 | use warnings; | ||
| 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 | my $proc = Proc::Simple->new; | ||
| 20 | |||
| 21 | $proc->start (@_); | ||
| 22 | |||
| 23 | return $proc; | ||
| 24 | } | ||
| 25 | |||
| 26 | 1; | ||
| 27 | |||
| 28 | __END__ |