NAME
Module::New::Template
SYNOPSIS
my $text = Module::New::Template->render('<% $c->module %>');
DESCRIPTION
As of 0.02, Module::New uses a Mojo::Template-like template engine. See Mojo::Template for how to write templates.
METHOD
render
takes a template, and returns a rendered text. Note that $c
represents the Module::New context (which is passed to the template internally).
AUTHOR
Kenichi Ishigaki, <ishigaki@cpan.org>
COPYRIGHT AND LICENSE
Copyright (C) 2009 by Kenichi Ishigaki.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.