Ben Deutsch > Positron-v0.1.3 > Positron::Template

Download:
Positron-v0.1.3.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: v0.1.3   Source  

NAME ^

Positron::Template - a DOM based templating system

VERSION ^

version v0.1.3

SYNOPSIS ^

  use Positron::Template;

  my $template = Positron::Template->new();

  my $dom    = create_dom_tree();
  my $data   = { foo => 'bar', baz => [ 1, 2, 3 ] };
  my $result = $template->process($dom, $data); 
syntax highlighting: