Module::New::Template - Module::New::Template documentation


Module-New documentation  | view source Contained in the Module-New distribution.

Index


NAME

Top

Module::New::Template

SYNOPSIS

Top

  my $text = Module::New::Template->render('<% $c->module %>');

DESCRIPTION

Top

As of 0.02, Module::New uses a Mojo::Template-like template engine. See Mojo::Template for how to write templates.

METHOD

Top

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

Top

Kenichi Ishigaki, <ishigaki@cpan.org>

COPYRIGHT AND LICENSE

Top


Module-New documentation  | view source Contained in the Module-New distribution.