1Pipeline::Store::SimpleU(s3e)r Contributed Perl DocumentaPtiipoenline::Store::Simple(3)
2
3
4
6 Pipeline::Store::Simple - simple store for pipelines
7
9 use Pipeline::Store::Simple;
10
11 my $store = Pipeline::Store::Simple->new();
12 $store->set( $object );
13 my $object = $store->get( $class );
14
16 "Pipeline::Store::Simple" is a simple implementation of a Pipeline
17 store. It stores things as in a hashref indexed by classname. You can
18 add an object to a store by calling the set method with an object, and
19 you can get an object by calling the get method with the classname of
20 the object you wish to retrieve.
21
22 "Pipeline::Store::Simple" inherits from the "Pipeline::Store" class and
23 includes its methods also.
24
26 set( OBJECT )
27 The "set" method puts OBJECT in the store.
28
29 get( SCALAR )
30 The "get" method attempts to return an object of the class
31 specified by SCALAR. If an object of that class does not exist in
32 the store it returns undef instead.
33
35 "Pipeline", "Pipeline::Store", "Pipeline::Store::ISA"
36
38 James A. Duncan <jduncan@fotango.com>
39
41 Copyright 2003 Fotango Ltd. All Rights Reserved.
42
43 This software is released under the same terms as Perl itself.
44
45
46
47perl v5.36.0 2023-01-20 Pipeline::Store::Simple(3)