NAME
Pipeline::Production - wrapper for production objects
SYNOPSIS
use Pipeline::Production;
my $pp = Pipeline::Production->new();
$pp->contents( $object );
my $production = $pp->contents();
DESCRIPTION
The Pipeline::Production
class acts as a wrapper around any scalar (and therfore object, or reference) that a Pipeline is to consider as a production. A production object will terminate the pipeline apon receipt and cause the cleanup segments to be executed.
METHODS
- new()
-
The
new
method constructs a fresh Pipeline::Production object and returns it. In the process it calls theinit()
method. - init()
-
The
init
method is called at construction time to perform any pre-use initialization on the object. - contents( [ SCALAR ] )
-
The
contents
method gets or sets the contents of the production, ie, the actual production itself. - contains( [ SCALAR ] )
-
A synonym for
contents
SEE ALSO
Pipeline
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.