App::Framework::Extension - Application Extension
use App::Framework::Extension ;
Provides the base object from which all Extensions must be derived. Is itself derived from App::Framework::Core and overrides whichever methods are necessary to modify the application behaviour.
The following fields should be defined either in the call to 'new()', as part of a 'set()' call, or called by their accessor method (which is the same name as the field):
Create a new Extension.
The %args are specified as they would be in the set method.
Initialises the object class variables.
Returns HEAP space for the calling module
Hi-jack the specified application function. %spec is a HASH of:
key = function name value = CODE ref to subroutine
Calls the function with specified args. If not extended by the extension then just calls the default function.
NOTE: Application function is always called with:
fn($app, \%options, @args)
Setting the debug flag to level 1 prints out (to STDOUT) some debug messages, setting it to level 2 prints out more verbose messages.
Steve Price <sdprice at cpan.org>
<sdprice at cpan.org>
None that I know of!
To install App::Framework, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::Framework
CPAN shell
perl -MCPAN -e shell install App::Framework
For more information on module installation, please visit the detailed CPAN module installation guide.