++ed by:
KEEDI STAUGAARD BEROV MIXAS ZMUGHAL

15 PAUSE users
20 non-PAUSE users.

Stefan G.

NAME

Kelp::Template - A very minimal template rendering engine for Kelp

SYNOPSIS

    my $t = Kelp::Template->new;
    say $t->process('file.tt', { bar => 'foo' });

DESCRIPTION

This module provides basic template rendering using Template::Tiny.

ATTRIBUTES

paths

An arrayref of paths to use when looking for template files.

encoding

Specifies the text encoding of the template files. The default value is utf8.

METHODS

process( $template, \%vars )

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' });