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

version 0.178

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 );

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

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

Jakob Voß <voss@gbv.de>

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.