Pipeline::Config 0.05 review
DownloadSYNOPSIS use Error qw( :try ); use Pipeline::Config; my $config = Pipeline::Config->new(); try { my $pipe =
|
|
SYNOPSIS
use Error qw( :try );
use Pipeline::Config;
my $config = Pipeline::Config->new();
try {
my $pipe = $config->load( 'somefile.type' );
my $pipe2 = $config->load( 'somefile', 'type' );
} catch Error with {
print shift;
}
Pipeline::Config lets you specify the structure of a Pipeline in a configuration file. This means you don't have to use() every Segment, call its constructor, and add it to the pipeline, because Pipeline::Config does it for you. It also means the flow of logic through your Pipeline is in one place, in a format that is easily read.
"How nice", you say? Well, this all assumes you have relatively simple Pipeline Segments that don't need lots of configuration. If you don't, then maybe this module is not for you.
Pipeline::Config is the frontend to various types of pipeline configuration files.
Requirements:
Perl
Pipeline::Config 0.05 keywords