Para::Frame::Renderer::Static - Renders a Static page
Para::Frame::Renderer::TT->new( \%args )
args:
umask page template template_root
template_root
is the root of the template used, if not the site
root. Include files will be search for between the root and the
template dir.
$p->render_output()
Burns the page and stores the result.
If the rendering failes, may change the template and URL. The new URL can be used for another call to this method.
This method is called by Para::Frame::Request/after_jobs.
Returns:
True on success (the content as a scalar-ref or sender object) False on failure
$rend->get_static( $in, $pageref )
$pageref
must be a scalar ref.
$in
must be a IO::File or a filename to be sent to
IO::File/new.
Places the content of the file in $pageref
.
Returns: $pageref