Alvis-Pipeline
view release on metacpan or search on metacpan
lib/Alvis/Pipeline.pm view on Meta::CPAN
to process it and pass it on to the next component in the pipeline.
If something catastrophic happens, and the record is lost, then an
out-of-band mechanism may be used to request a new copy of the record
from the writer. The C<Alvis::Pipeline> module does not directly
support such requests; they are considered to be application-level and
therefore not appropriate for this low-level module to deal with.
(As a matter of application design, we offer the observation that, in
Alvis, the C<<id>> attribute on the top-level element specifies the
identity of the record, and should remain changed even if the record
itself is updated; so any out-of-band request for records to be
re-sent should do so by specifying the IDs of the required records.)
=head2 write()
# Write-pipes only
$out->write($xmlDocument);
Writes an XML document to the specified outbound pipe. The document
may be passed in either as a DOM tree (C<XML::LibXML::Element>) or a
string containing the text of the document. Throws an exception if an
( run in 0.234 second using v1.01-cache-2.11-cpan-05444aca049 )