Changes for version v0.3.13 - 2026-11-24
- A source can give the original its values were made from, such as the row a statement fetched, and result_original gives it, through chains of iterators too. So DBIx::Squirrel's result_original can be Ekorn's own, and the two can share one name in their Toolings.
- It ships roadmap 2026-0052. It only adds: a source that doesn't give one runs as before.
- A source's set-up, or EKORN_SOURCE, may return an original, by name or fourth in a list: a code reference returning the original of the value it gave last. result_original calls it, only when asked, in place of the value the run's source gave; a flush's values have none, whatever it says. An iterator read as a source passes its source's original on, as it does its context. One that isn't a code reference croaks "Expected the source's original to be a code reference". (roadmap 2026-0052)
- The POD of Ekorn::Pipeline::Source, Factories, Iterator and Context, the reference and the how-to say so.
Documentation
Ekorn::Pipeline user guide
Ekorn::Pipeline reference
Modules
run values through a list of stages
read and write CSV and TSV, as sources, stages or sinks
what a stage can ask about the result it's making
what Ekorn's types are made from
report Ekorn::Pipeline's errors at the caller's line
words that make Ekorn's types
one run, fed values as they arrive
a stage made afresh for each run, told when its values run out
one run, handing out its values as they're pulled
read and write JSON and JSON Lines, as sources, stages or sinks
|, |= and @{} for Ekorn's types
pipe and tap methods, running an object through stages
a sink made afresh for each run
ready-made sinks, needing only Perl
a source made afresh for each run
ready-made sources, needing only Perl
a stage, as an object
stages gathering values: batch and collect
stages taking or dropping values: take, drop, take_if, drop_if, take_while and drop_while
stages run for their side effects: peek, count_into, dump_to and tee
end a pipeline early
name pipelines as the program compiles, each with a function
Ekorn's stages, sources, sinks and words, from one module
Provides
in lib/Ekorn/Pipeline/CSV.pm
in lib/Ekorn/Pipeline/Operators.pm
in lib/Ekorn/Pipeline/Operators.pm
in lib/Ekorn/Pipeline/Sink.pm
in lib/Ekorn/Pipeline/Sink.pm