NAME

Template::CTemplate - Perl bindings for Google CTemplate

SYNOPSIS

use Template::CTemplate;

my $tpl = Template::CTemplate::Template->new(
  'blog.tpl', Template::CTemplate::DO_NOT_STRIP
);

my $dict = Template::CTemplate::Dictionary->new('ENTRIES');

$dict->show_section("FOO");
$dict->set_value("TITLE", "Templating for the masses");

my $output = $tpl->expand($dict);

NOTE

This library is at a very early stage, and is of EXTREME alpha quality.

DESCRIPTION

This is currently a very basic set of bindings to google's ctemplate libraries. Please see http://code.google.com/p/google-ctemplate/ for more details.

Most of the implementation is exercised by the unit tests. Please see those for more implementation details and examples.

TODO

* Documentation
* Examples
* More Perl/XS based wrappings, ::Simple like

AUTHOR

Scott McWhirter, <cpan@konobi.co.uk>

COPYRIGHT AND LICENSE

Copyright (C) 2007 by Scott McWhirter

This library is available under the terms of the BSD license.

Please see the enclosed LICENSE file for details.