NAME

Labrador::Dispatcher::Data

SYPNOPSIS

	use Labrador::Dispatcher::Data;
	my $data = new Labrador::Dispatcher::Data($config);
	$data->register_variable("AnArray", 'ARRAY', 1);
	my $array_ref = $data->obtain_variable("AnArray");

DESCRIPTION

This module is a generic global data store, supporting persistence. In the Labrador

METHODS

new
register_array($name, $persistent)

Register an array for use

obtain_variable
register_variable($name, $type, $persistent)

Registers a variable for use. $type is one of 'ARRAY', 'HASH', 'SCALAR'. $persistent marks whether the contents of the variable should be stored on disk.

checkpoint

For all partially persistent data structures, updates the copy of the data structure on disk.

shutdown

Unties any persistent variables, so this object can be safely destroyed. Automatically calls checkpoint first.

_load_module($name)

Load the module called $name.

REVISION

$Revision: 1.7 $