./www/p5-HTML-Template, Perl5 module to create HTML templates with simple tags

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 2.95, Package name: p5-HTML-Template-2.95, Maintainer: pkgsrc-users

This module attempts make using HTML templates simple and natural. It
extends standard HTML with a few new HTML-esque tags - <TMPL_VAR>,
<TMPL_LOOP>, <TMPL_INCLUDE>, <TMPL_IF> and <TMPL_ELSE>. The file
written with HTML and these new tags is called a template. It is
usually saved separate from your script - possibly even created by
someone else! Using this module you fill in the values for the
variables, loops and branches declared in the template. This allows
you to separate design - the HTML - from the data, which you generate
in the Perl script.


Required to run:
[lang/perl5]

Master sites: (Expand)

SHA1: 8182e47778ee498214fdfdb035310c627aa939fb
RMD160: 0f793b13716af729366df089970b3f15e3aa34d4
Filesize: 88.948 KB

Version history: (Expand)


CVS history: (Expand)


   2014-02-23 13:57:24 by Wen Heping | Files touched by this commit (2) | Package updated
Log message:
Update to 2.95

Upstream changes:
2.95 Mon Oct 21 2013
    - Added support for "none" for default_escape [Mark Stosberg]
    - Escape unicode new-line characters in JS escape [Michael Peters]
   2013-05-31 14:42:58 by Thomas Klausner | Files touched by this commit (2880)
Log message:
Bump all packages for perl-5.18, that
a) refer 'perl' in their Makefile, or
b) have a directory name of p5-*, or
c) have any dependency on any p5-* package

Like last time, where this caused no complaints.
   2013-01-18 16:16:21 by Wen Heping | Files touched by this commit (2) | Package updated
Log message:
Update to 2.9.4

Upstream changes:
2.94 Thu Jan 17 2013
    - Fixed bug where options were bleeding over into subsequent calls to new()
      [Michael Peters]

2.93 Wed Jan 16 2013
    - Feature: Added config() method to make setting global defaults
      easy so that each call to new() has less boiler plate. [Michael
      Peters]

    - Bug Fix: t/05-force_untaint.t now passes when run with prove
      [Michael Peters]

    - Bug Fix: die_on_bad_params now controls whether we die if tmpl_vars
      reuse names from tmpl_loops (which can be useful in some situations)
      [Michael Peters]
   2012-10-28 07:31:10 by Aleksej Saushev | Files touched by this commit (600)
Log message:
Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.
   2012-10-03 23:59:10 by Thomas Klausner | Files touched by this commit (2798)
Log message:
Bump all packages that use perl, or depend on a p5-* package, or
are called p5-*.

I hope that's all of them.
   2012-05-12 22:16:22 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
Update to 2.91 and call it 2.9.1 because previous was 2.9 and I don't trust
perl module version numbers :)

Changes:
2.91 Fri Mar 30 2012

   - Feature: RT #18901 - Added new utf8 option to make it really simple
     to use UTF-8 encoded templates [Michael Peters]

   - Feature: RT #30586 - Added new open_mode option to allow for
     Perl IO layers to interact when using open() on the template files
     [moritz@faui2k3.org and Michael Peters]

   - Feature: RT #38189 - Allow clean XML style tags "<tmpl_var foo \ 
/>"
     to be used as well. [allard@byte.nl]

   - Feature: RT #46285 - Added support for lazily-evaluated coderefs
     for TMPL_LOOPs. [Justin DeVuyst and Michael Peters]

   - Feature: RT #64797 - Added new option die_on_missing_include (defaults
     to true) that allows users to turn off the behavior of dieing when an
     include can't be found [Zdenek Styblik and Michael Peters]

   - Feature: Add new cache_lazy_vars option so that the values from coderefs
     used for TMPL_VARs can be cached and the coderef not run multiple times
     [Michael Peters]

   - Feature: Add new cache_lazy_loops option so that the values from coderefs
     used for TMPL_LOOPs can be cached and the coderef not run multiple times
     [Michael Peters]

   - Feature: Added __even__, __outer__ and __index__ loop context vars.
     [Michael Peters]

   - Bug Fix: RT #26456 - force_untaint can't work in Perl < 5.8.0
     [admin@photoresearchers.com]

   - Bug Fix: RT #67663 - remove warning under Perl > 5.14.0 about using tied
     with a file handle without "*" [RENEEB, TODDR and Michael Peters]

   - Bug Fix: RT #35534 - Using the same loop multiple times with
     different vars will no longer cause an error if die_on_bad_params
     is set. [Ron Savage & Michael Peters]

   - Bug Fix: RT #38325 - Give a better error message if param() is set
     with a reference to a reference. [Mark Stosberg & Michael Peters]

   - Test Fix: RT #26103 - t/05-blind-cache.t no longer modifies the
     distribution during the tests but instead uses temp files [Jan
     Dubois and Michael Peters]

   - Test Fix: Tests that create and modify files now use temp files
     and file_cache_dir is always a temp directory [Michael Peters]

   - Doc Fix: Using more POD formatting [Michael Peters]

   - Doc Fix: RT #46244 - fix broken link to tutorial [Michael Peters]

   - Doc Fix: RT #60282 - fix various mispellings [Florian Ernst]

   - Doc Fix: RT #60283 - fix broken HTML example [Florian Ernst]

   - Doc Fix: RT #60284 - fix broken POD [Florian Ernst and Michael Peters]

   - Development: Moved development to GitHub
     (https://github.com/mpeters/html-template)

   - Development: Switched to using Dist::Zilla internally for release management

   - Development: Added Michael Peters as co-maintainer
   2011-08-14 18:06:13 by OBATA Akio | Files touched by this commit (268)
Log message:
Revision bump after updating perl5 to 5.14.1.
   2010-08-21 18:37:14 by Stoned Elipot | Files touched by this commit (1724) | Package updated
Log message:
Bump the PKGREVISION for all packages which depend directly on perl,
to trigger/signal a rebuild for the transition 5.10.1 -> 5.12.1.

The list of packages is computed by finding all packages which end
up having either of PERL5_USE_PACKLIST, BUILDLINK_API_DEPENDS.perl,
or PERL5_PACKLIST defined in their make setup (tested via
"make show-vars VARNAMES=..."), minus the packages updated after
the perl package update.

sno@ was right after all, obache@ kindly asked and he@ led the
way. Thanks!