Rodrigo de Oliveira Gonzalez > CatalystX-Features > CatalystX::Features::Init

Download:
CatalystX-Features-0.25.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  0
View/Report Bugs
Module Version: 0.25   Source  

NAME ^

CatalystX::Features::Init - Extend MyApp.pm initialization

VERSION ^

version 0.25

SYNOPSIS ^

Maybe:

        package MyApp::MyFeature;
        use base qw/CatalystX::Features::Init/;

Or maybe:

        package MyApp::MyFeature;
        use base qw/Catalyst/;

DESCRIPTION ^

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 {
                ...
        };

AUTHORS ^

        Rodrigo de Oliveira (rodrigolive), C<rodrigolive@gmail.com>

LICENSE ^

This library is free software. You can redistribute it and/or modify it under the same terms as Perl itself.

syntax highlighting: