Gapp::App::Hook - Application callback
A hook object holds callbacks which are executed upon request.
Possible values are aggregate and halt. An Aggregate hook will accumlate the return values of all callbacks. A halt hook will stop execution of all callbacks when any callback returns true.
aggregate
halt
Aggregate
The name of the hook.
A CodeRef to be executed after all callbacks.
CodeRef
Executes the associated callbacks, passing in @params.
@params
Add a callback to the hook. Callbacks will be executed in the order they are pushed on to the stack.
Jeffrey Ray Hallock <jeffrey.hallock at gmail dot com>
Copyright (c) 2010-2012 Jeffrey Ray Hallock.
This is free software, licensed under: The Artistic License 2.0 (GPL Compatible)
2 POD Errors
The following errors were encountered while parsing the POD:
You forgot a '=back' before '=head1'
To install Gapp::App, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Gapp::App
CPAN shell
perl -MCPAN -e shell install Gapp::App
For more information on module installation, please visit the detailed CPAN module installation guide.