The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Nephia::Plugin::View::MicroTemplate - A plugin for Nephia that provides template mechanism

SYNOPSIS

use Nephia plugins => [
    'View::MicroTemplate' => +{
        include_path => [ qw/ view / ],
    },
];


app {
    [200, [], render('index.html', { name => 'myapp' })];
};

DESCRIPTION

Nephia::Plugin::View::MicroTemplate provides render DSL for rendering template.

DSL

render $template_file [, $hashref];

Returns rendered content.

LICENSE

Copyright (C) ytnobody.

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

AUTHOR

ytnobody ytnobody@gmail.com