Proc::Scoreboard - interface scoreboard class
use Proc::Scoreboard::Dir; my $scoreboard = new Proc::Scoreboard ( Directory => '/var/scoreboard' ); my @idList = $scoreboard->list (); $scoreboard->add ( $pid ); $scoreboard->delete ( $pid ); $scoreboard->modify ( $pid, %hash );
Intertface class for scoreboard.
The constructor
$sb->add ( $id );
add new board with id $id to scoreboard
$sb->delete ( $id );
delete board with id $id from scoreboard
$db->modify ( $id, %hash );
modify board with id $id by passed parameters
return list of all known scoreboards id's
To install Proc::Application, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Proc::Application
CPAN shell
perl -MCPAN -e shell install Proc::Application
For more information on module installation, please visit the detailed CPAN module installation guide.