NAME
Toader::Render::Page::backends::html - This handles the html backend stuff for Toader::Render::Directory.
VERSION
Version 0.1.0
SYNOPSIS
my
$renderer
=Toader::Render::Page::backends::html->new({
toader
=>
$oader
,
obj
=>
$pageObj
});
my
$rendered
;
if
(
$renderer
->error ){
warn
(
'Error:'
.
$renderer
->error.
': '
.
$renderer
->errorString );
}
else
{
$rendered
=
$renderer
->render(
$torender
);
}
While this will error etc, this module is basically a pass through as HTML the native.
METHODS
new
This initiates the object.
args hash ref
obj
This is the Toader::Page object to render.
toader
This is the Toader object to use.
my
$foo
=Toader::Render::Page::backends::html->new(\
%args
);
if
(
$foo
->error){
warn
(
'error: '
.
$foo
->error.
":"
.
$foo
->errorString);
}
render
This renders the object.
No arguments are taken.
ERROR CODES
1
No Toader::Page object specified.
2
No Toader object specified.
3
The Toader::Page object has a permanent error set.
4
The Toader object has a permanent error set.
5
The Toader::Page object does not have a directory set.
6
Nothing specified to render.
AUTHOR
Zane C. Bowers-Hadley, <vvelox at vvelox.net>
BUGS
Please report any bugs or feature requests to bug-toader at rt.cpan.org
, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Toader. 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 Toader::Render::Page::backends::html
You can also look for information at:
RT: CPAN's request tracker
AnnoCPAN: Annotated CPAN documentation
CPAN Ratings
Search CPAN
ACKNOWLEDGEMENTS
LICENSE AND COPYRIGHT
Copyright 2011. Zane C. Bowers-Hadley.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.