Pipeworks::Stage::Callback - light wrapper to put closures in stages
my $stage = Pipeworks::Stage::Callback->new( sub { ... } ); $stage->process( ... );
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.
To install Pipeworks, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Pipeworks
CPAN shell
perl -MCPAN -e shell install Pipeworks
For more information on module installation, please visit the detailed CPAN module installation guide.