Catalyst::View::BK - Catalyst View for Bricklayer::Templater
Catalyst View. Implements the Bricklayer Templating engine for Catalyst
Jeremy Wall <Zaphar> (Jeremy@marzhillstudios.com)
Bricklayer attempts to use sane defaults so in reality you don't need to specify anything here if you don't want to.
If you do want to override the defaults then there are two configuration values you can override. The Tag Identifier and the Template Extension.
APP->config( name => 'APP', root => APP->path_to('root');, 'View::BK' => { # any BK configurations items go here 'bk_ext' => 'txml', 'bk_tag_id' => 'BK' }, );
Allows you to render a template and retrieve the result. It also allows you to specify the arguments passed to the template engine and to override the tag id by setting the $c->stash->{bk_tag_id} parameter before calling it.
This library is free software, you can redistribute it and/or modify it under the same terms as Perl itself.
To install Catalyst::View::BK, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Catalyst::View::BK
CPAN shell
perl -MCPAN -e shell install Catalyst::View::BK
For more information on module installation, please visit the detailed CPAN module installation guide.