The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Pipeworks::Stage::Callback - light wrapper to put closures in stages

SYNOPSIS

  my $stage = Pipeworks::Stage::Callback->new( sub { ... } );
  
  $stage->process( ... );

DESCRIPTION

This simple stage class just takes a code reference and blesses into its namespace in order to provide a process() method for compatibility with the pipeline calling convention.