NAME

RDF::Flow::Cascade - Returns the first non-empty response of a sequence of sources

VERSION

version 0.178

SYNOPSIS

use RDF::Flow qw(cascade);
$src = cascade( @sources );                  # shortcut
$src = cascade( @sources, name => 'foo' );   # with name

use RDF::Flow::Cascade;
$src = RDF::Flow::Cascade->new( @sources );  # explicit

$rdf = $src->retrieve( $env );

DESCRIPTION

This RDF::Flow::Source returns the first non-empty response of a given sequence of sources.

SEE ALSO

RDF::Flow::Union, RDF::Flow::Pipeline

AUTHOR

Jakob Voß <voss@gbv.de>

COPYRIGHT AND LICENSE

This software is copyright (c) 2011 by Jakob Voß.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.