CatalystX::Features::View::TT - Makes View::TT handle features.
version 0.12
package MyApp::View::TT; use base 'CatalystX::Features::View::TT'; __PACKAGE__->config( TEMPLATE_EXTENSION => '.tt', root => TestApp->path_to('root'), INCLUDE_PATH => [ TestApp->path_to( 'root', 'src' ), ], );
Use this base class to make View::TT support TT in your features.
This class will modify INCLUDE_PATH, adding the /root dir of each feature in the app.
INCLUDE_PATH
/root
Appended to the feature /root dir.
<CatalystX::Features> <simple.feature> tt_prefix src tt_prefix more </simple.feature> </CatalystX::Features>
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.