App::Framework::Feature - Application feature
Features are accessed via the App::Framework object, for example:
use App::Framework '+Config' ;
App::Framework::Feature is to be derived from and cannot be accessed directly.
Provides the base object from which all features must be derived.
DOCUMENTATION TO BE COMPLETED
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):
Set by App::Framework as a reference to the application object. If this is not set, then the feature will skip any application-specific logic (allowing a feature to be used in the user part of an application as a stand alone object).
ARRAY ref to list of functions that this feature wants to register in the application. When a registered function is called by the framework, then the feature's method (of the same name) is also called.
Function name is of the form <name>_entry (called at the start of <name>) or <name>_exit (called at the end of <name>)
Set to the feature name (by the App::Framework). This is the name used by the application to access the feature
Create a new feature.
The %args are specified as they would be in the set method.
Initialises the object class variables.
Returns 0 since this class can not have a class instance object
Registers this feature with the parent application framework (if specified)
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.