Continual::Process::Instance - one instance
$instance = Continual::Process::Instance->new( name => 'job1', instance_id => 1, code => sub { ... return $pid; } )->start(); while(1) { if (!$instance->is_alive()) { $instance->start(); } }
This class represents one instance of Continual::Process
name of process
id of instance (number)
CodeRef
start this instance
is this instance alive?
Copyright (C) Avast Software.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Jan Seidl <seidl@avast.com>
To install Continual::Process, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Continual::Process
CPAN shell
perl -MCPAN -e shell install Continual::Process
For more information on module installation, please visit the detailed CPAN module installation guide.