Changes for version v0.3.4 - 2026-11-16
- The canned stages, sources and sinks cost a little less a value.
- It ships no roadmap item: the change came of a message from DBIx-Squirrel. Nothing else changes: the values, the messages and the order things run in are as they were.
- The closures that the canned stages, sources and sinks run for each value read it without a signature, which cost about 19 ns a call: take, drop, take_last, take_single, count_into, dump_to, batch, collect, the sinks of Ekorn::Pipeline::Sinks, from_array, from_fh, from_file, counter, and Ekorn::Pipeline::JSON's. Pushed through one of them, a value costs 15 to 30 ns less, 2 to 4%, on Perl 5.36 and 5.44. take_if, drop_if, take_while, drop_while and peek still copy the value before giving it to their block, so a block that changes its argument changes nothing passed on.
Documentation
Ekorn::Pipeline user guide
Ekorn::Pipeline reference
Modules
run values through a list of stages
what Ekorn's types are made from
report Ekorn::Pipeline's errors at the caller's line
words that make Ekorn's types
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 and dump_to
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/Operators.pm
in lib/Ekorn/Pipeline/Operators.pm
in lib/Ekorn/Pipeline/Sink.pm
in lib/Ekorn/Pipeline/Sink.pm