Michael Kulakov > Proc-Application-0.01 > Proc::Scoreboard

Download:
Proc-Application-0.01.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  0
View/Report Bugs
Module Version: 1.1   Source  

NAME ^

Proc::Scoreboard - interface scoreboard class

SYNOPSIS ^

 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 );

DESCRIPTION ^

Intertface class for scoreboard.

new

The constructor

add

 $sb->add ( $id );

add new board with id $id to scoreboard

delete

 $sb->delete ( $id );

delete board with id $id from scoreboard

modify

 $db->modify ( $id, %hash );

modify board with id $id by passed parameters

list

return list of all known scoreboards id's

syntax highlighting: