> Hi there,
> 
> I have a pure perl implementation of a simple templating system which is
> (what I consider to be) relatively lightweight - it copes well in both
> cgi-bin and mod_perl environments, at least for me. I've looked at various
> other modules, and do believe mine brings an alternative slant to the
> proceedings 8)
> 
> A simple example of it in action (if it were called My::Simple::Template)
> would be:
> 
> use My::Simple::Template;
> my $template = new My::Simple::Template;
> $template->tags( { key1 => 'value1', key2 => 'value2' } );
> print $template->generate("/path/to/template.html");

This looks very similar to HTML::Template:

use HTML::Template;
my $template = HTML::Template->new (filename => '/path/to/template');
$template->param( key1 => 'value1', key2 => 'value2' );
print $template->output;

How does your package differ ?

--
Eric


Reply via email to