Nephia::Plugin::View::Xslate - A plugin for Nephia that provides template mechanism
use Nephia plugins => [ 'View::Xslate' => +{ syntax => 'Kolon', path => [ qw/ view / ], }, ]; app { [200, [], render('index.html', { name => 'myapp' })]; };
Nephia::Plugin::View::Xslate provides render DSL for rendering template.
Returns rendered content.
Copyright (C) ytnobody.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
ytnobody <ytnobody@gmail.com>
To install Nephia::Plugin::View::Xslate, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Nephia::Plugin::View::Xslate
CPAN shell
perl -MCPAN -e shell install Nephia::Plugin::View::Xslate
For more information on module installation, please visit the detailed CPAN module installation guide.