Kenichi Ishigaki > Module-New-0.10 > Module::New::Template

Download:
Module-New-0.10.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Source   Latest Release: Module-New-0.12

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.

syntax highlighting: