NAME
Daemonise::Plugin::Paralleliser - Daemonise plugin to parallelise certain tasks easily
VERSION
version 2.13
SYNOPSIS
use Daemonise;
my $d = Daemonise->new();
$d->debug(1);
$d->foreground(1) if $d->debug;
$d->config_file('/path/to/some.conf');
$d->load_plugin('Paralleliser')
$d->worker(5);
$d->configure;
my @input = ('kiwi', 'fern', 'maori', 'marae');
$d->parallelise(\&loop, @input);
sub loop {
print shift;
}
ATTRIBUTES
worker
pm
SUBROUTINES/METHODS provided
configure
parallelise
AUTHOR
Lenz Gschwendtner <norbu09@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2013 by Lenz Gschwendtner.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.