Pipeline::Store::ISA - inheritance-based store for pipelines
use Pipeline::Store::ISA; my $store = Pipeline::Store::ISA->new(); $store->set( $object ); my $object = $store->get( $class );
Pipeline::Store::ISA is a slightly more complex implementation of a Pipeline store than Pipeline::Store::Simple. It stores things as in a hashref indexed by classname, and also their inheritance tree. 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 or parent classname of the object you wish to retrieve.
Pipeline::Store::ISA
Pipeline::Store::Simple
Pipeline::Store::ISA inherits from the Pipeline::Store class and includes its methods also.
Pipeline::Store
The set method stores an object specified by OBJECT in itself. Replaces existing objects of the same type.
set
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. In the case that you request a super class of multiple objects an array reference will be returned containing all the objects that are blessed into child classes of SCALAR.
get
Pipeline, Pipeline::Store, Pipeline::Store::Simple
Pipeline
James A. Duncan <jduncan@fotango.com>
Copyright 2002 Fotango Ltd. All Rights Reserved.
This software is distributed under the same terms as Perl itself.
To install Pipeline, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Pipeline
CPAN shell
perl -MCPAN -e shell install Pipeline
For more information on module installation, please visit the detailed CPAN module installation guide.