NAME
MojoX::Renderer::HTP - HTML::Tempate::Pro renderer for Mojo
VERSION
Version 0.01
SYNOPSIS
Add the handler:
use MojoX::Renderer::HTP;
sub startup {
...
my $pro = MojoX::Renderer::HTP->build(
mojo => $self,
template_options => {
path => [ $self->renderer->root ],
}
);
$self->renderer->add_handler( pro => $pro );
}
Then in controller:
$self->render(
handler => 'pro',
message => 'test',
list => [{id => 1}, { id=>2 }]
);
FUNCTIONS
build
create handler for renderer
AUTHOR
Sergey Lobin, <ifitwasi at gmail.com>
BUGS
Please report any bugs or feature requests to bug-mojox-renderer-htp at rt.cpan.org
, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=MojoX-Renderer-HTP. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
SUPPORT
You can find documentation for this module with the perldoc command.
perldoc MojoX::Renderer::HTP
You can also look for information at:
RT: CPAN's request tracker
AnnoCPAN: Annotated CPAN documentation
CPAN Ratings
Search CPAN
ACKNOWLEDGEMENTS
COPYRIGHT & LICENSE
Copyright 2009 Sergey Lobin, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.