Kelp::Template - A very minimal template rendering engine for Kelp
my $t = Kelp::Template->new; say $t->process('file.tt', { bar => 'foo' });
This module provides basic template rendering using Template::Tiny.
An arrayref of paths to use when looking for template files.
Specifies the text encoding of the template files. The default value is utf8.
utf8
Processes a template and returns the parsed text. The template may be a file name, a reference to a text, a GLOB or an IO object.
say $t->process(\"Hello [% who %]", { who => 'you' });
To install Kelp, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Kelp
CPAN shell
perl -MCPAN -e shell install Kelp
For more information on module installation, please visit the detailed CPAN module installation guide.