Barbie > Labyrinth > Labyrinth::Writer::Parser::TT

Download:
Labyrinth-5.23.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 5.23   Source  

NAME ^

Labyrinth::Writer::Parser::TT - Template Toolkit Renderer for Labyrinth

SYNOPSIS ^

  use Labyrinth::Writer::Parser::TT;
  my $tt = Labyrinth::Writer::Parser::TT->new();
  $tt->parser('mytemplate.html');

DESCRIPTION ^

This package provides the ability to parse a given template, with a given set of template variables using Template Toolkit.

METHODS ^

new

Object constructor.

parser( $template, $variables )

Parses a given template, via Template Toolkit. Returns a string of the parsed template.

parse_to_file( $template, $variables, $file, $binary )

Parses a given template, via Template Toolkit. Writes the result to the named file, marking as binary if requested.

SEE ALSO ^

  Template (Template Toolkit)
  Labyrinth

AUTHOR ^

Barbie, <barbie@missbarbell.co.uk> for Miss Barbell Productions, http://www.missbarbell.co.uk/

COPYRIGHT & LICENSE ^

  Copyright (C) 2002-2014 Barbie for Miss Barbell Productions
  All Rights Reserved.

  This module is free software; you can redistribute it and/or
  modify it under the Artistic License 2.0.
syntax highlighting: