Form::Factory::Feature::Role::PostProcess - features that run just after processing
version 0.021
package MyApp::Feature::Qux; use Moose; with qw( Form::Factory::Feature Form::Factory::Feature::Role::PostProcess ); sub post_process { my $self = shift; MyApp::Logger->info('Ending the process.'); } package Form::Factory::Feature::Custom::Qux; sub register_implementation { 'MyApp::Feature::Qux' }
Features that run something immediately after the action runs may implement this role. This feature will run after the action does whether it succeeds or not. It will not run if an exception is thrown.
This method is called immediately after the run method is called. It is passed no arguments other than the feature object it is called upon. It's return value is ignored.
run
Andrew Sterling Hanenkamp <hanenkamp@cpan.org>
<hanenkamp@cpan.org>
Copyright 2009 Qubling Software LLC.
This library is free software. You can redistribute it and/or modify it under the same terms as Perl itself.
To install Form::Factory, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Form::Factory
CPAN shell
perl -MCPAN -e shell install Form::Factory
For more information on module installation, please visit the detailed CPAN module installation guide.