HTML::Chunks

HTML::Chunks is a simple nested template engine for HTML, XML and XHTML.
Download

HTML::Chunks Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Mark W Blythe and Dave Balmer Jr
  • Publisher web site:
  • http://search.cpan.org/~mblythe/HTML-Chunks-1.53/lib/HTML/Chunks.pm

HTML::Chunks Tags


HTML::Chunks Description

HTML::Chunks is a simple nested template engine for HTML, XML and XHTML. HTML::Chunks is a simple nested template engine for HTML, XML and XHTML.This class implements a simple text-based template engine, originally intented to allow web applications to completely separate layout HTML from programming logic. However, the engine is flexible enough to be applied to other text-based situations where templates are helpful, such as generating email messages, XML data files, etc.SYNOPSIS my $engine = new HTML::Chunks(@chunkFiles); $engine->readChunkFile('morechunks.html'); $engine->addChunk($smallChunk, $hugeChunk); $engine->addNamedChunk('myChunk', $chunk); $engine->output('myChunk', { firstName => 'Homer', lastName => 'Simpson', meals => &outputMeals }, @extraData); my @names = $engine->getChunkNames(); my $chunk = $engine->getChunk('myChunk'); my $oldValue = $engine->setCrush(0); Requirements: · Perl


HTML::Chunks Related Software