| CatalystX::Features::Init - Extend MyApp.pm initialization |
CatalystX::Features::Init - Extend MyApp.pm initialization
version 0.17
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 '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.
| CatalystX::Features::Init - Extend MyApp.pm initialization |