Pipeline::Store::SimplUser Contributed Perl DocumentPipeline::Store::Simple(3)NAMEPipeline::Store::Simple - simple store for pipelines
SYNOPSIS
use Pipeline::Store::Simple;
my $store = Pipeline::Store::Simple->new();
$store->set( $object );
my $object = $store->get( $class );
DESCRIPTION
"Pipeline::Store::Simple" is a simple implementation of a Pipeline
store. It stores things as in a hashref indexed by classname. You can
add an object to a store by calling the set method with an object, and
you can get an object by calling the get method with the classname of
the object you wish to retrieve.
"Pipeline::Store::Simple" inherits from the "Pipeline::Store" class and
includes its methods also.
METHODS
set( OBJECT )
The "set" method puts OBJECT in the store.
get( SCALAR )
The "get" method attempts to return an object of the class
specified by SCALAR. If an object of that class does not exist in
the store it returns undef instead.
SEE ALSO
"Pipeline", "Pipeline::Store", "Pipeline::Store::ISA"
AUTHOR
James A. Duncan <jduncan@fotango.com>
COPYRIGHT
Copyright 2003 Fotango Ltd. All Rights Reserved.
This software is released under the same terms as Perl itself.
perl v5.14.1 2004-08-09 Pipeline::Store::Simple(3)