NAME
DBIx::Squirrel::Pipes - the pipe and tap methods of DBIx::Squirrel's handles
SYNOPSIS
package My::Handle;
our @ISA = ('Some::Parent', 'DBIx::Squirrel::Pipes');
DESCRIPTION
A parent class giving its children "pipe" in DBIx::Squirrel and "tap" in DBIx::Squirrel. DBIx::Squirrel's database and statement handle classes, DBIx::Squirrel::db and DBIx::Squirrel::st, inherit from it as well as from the DBI's own.
METHODS
pipe
@results = $h->pipe(@stages);
Runs the invocant through a pipeline of stages, and returns what comes out of the last one, as "pipe" in DBIx::Squirrel describes.
tap
$h = $h->tap(@stages);
Runs the invocant through a pipeline of stages for their side effects, and returns the invocant, as "tap" in DBIx::Squirrel describes.
SEE ALSO
DBIx::Squirrel, DBIx::Squirrel::Pipeline
AUTHOR
Iain Campbell <cpanic@cpan.org>
LICENSE
Copyright (c) 2024-2026 by Iain Campbell.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.