Changes for version v0.4.3 - 2026-11-26
- An iterator's next, and a way into the how-to for DBIx::Squirrel's users.
- Ekorn::Pipeline::Iterator has next, which does what calling the iterator does, so a loop written for DBIx::Squirrel's iterators reads Ekorn's too, and the how-to has a section for readers who come to it from DBIx::Squirrel. It ships roadmap 2026-0056 and 2026-0057, and only adds.
- Ekorn::Pipeline::Iterator's next returns the next value, as $next->() does, in any context: one value, or an empty list once the values run out, so while (my($value) = $next->next) { ... } reads every value. (roadmap 2026-0056)
- The how-to's "Coming from DBIx::Squirrel" gives Ekorn's names for what DBIx::Squirrel's users know, says what's new to them and where to start, and the README points to it. (roadmap 2026-0057)
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