CatalystX::Features::Init - Extend MyApp.pm initialization
version 0.19
Maybe:
package MyApp::MyFeature; use base qw/CatalystX::Features::Init/;
Or maybe:
package MyApp::MyFeature; use base qw/Catalyst/;
WIP. Work in progress.
This is a placeholder for an upcoming plugin for pre and post setup phases. The idea is to have your feature run code during the application startup phase.
Right now, running before and after setup handlers somewhere within your feature may suffice.
before
after
before 'setup' => sub { ... };
Rodrigo de Oliveira (rodrigolive), C<rodrigolive@gmail.com>
This library is free software. You can redistribute it and/or modify it under the same terms as Perl itself.
To install CatalystX::Features, copy and paste the appropriate command in to your terminal.
cpanm
cpanm CatalystX::Features
CPAN shell
perl -MCPAN -e shell install CatalystX::Features
For more information on module installation, please visit the detailed CPAN module installation guide.