Greetings from sunny San Diego and TPC6!

Developer release 2.07c is out!  Barring any major problems, this will
become the next proper release, 2.08 within the next few days.  

    http://www.template-toolkit.org/download.html

Relevant section from the Changes file follows.  Now I'm off for a beer
and a skate (these conferences are hard work, you know :-)

A

#------------------------------------------------------------------------
# Version 2.07c - July 22nd 2002                  ## DEVELOPER RELEASE ##
#------------------------------------------------------------------------

* Fixed a bug in Date plugin introduced in last version which caused
  it to ignore the 'time' parameter.

* Modified INCLUDE_PATH handling in Template::Provider to accept a
  reference to a subroutine or object implementing a paths() method
  as an element in the list.  This is then called to return a
  dynamically generated path.  Documented and tested.

* Changed the implementation of the NAMESPACE calling code to leave
  the namespace prefix intact on the ident list which then gets
  passed to the handler's ident() method.  Modified the ident()
  method of Template::Namespace::Constants to expect and remove it.
  Constant folding now *doesn't* happen for constants that return
  a reference or undefined value.  These get compiled as regular
  runtime variable lookups.

* Added new list virtual methods: 'unique' to cull multiple identical
  items, 'merge' to merge lists together, 'splice' which acts
  just like Perl's splice, and 'slice' which returns a slice of the
  list.  Also modified first and last virtual methods to take an
  argument indicating the number of items to return from the start or
  end of the list.  Added the 'chunk' scalar virtual method to split a
  string into chunks of a particular flushed either left or right.
  (darren, mark, abw)

* Moved documentation for virtual methods into a separate manpage,
  Template::Manual::VMethods

* Modifed Template::Test to allow -- name testname -- comments to
  be added to tests to give them names, reported by test harness
  (darren)

* Merged functionality of process() and include() methods into
  process() with optional third $localize flag.  (darren)

* Modified the OUTPUT option to accept a reference to a list (darren)




Reply via email to