Changes for version 0.54_13 - 2008-09-23

  • => Renamed the test to "26-template-name-dollar-zero.t" as either the shell or the test suite seem to expand $0 in the file name. Weird, but too lazy to investigate the real cause.

Changes for version 0.54_12 - 2008-09-22

  • => Fixed template name access through $0. => New placeholder test.

Changes for version 0.54_11 - 2008-09-20

  • => Split Text::Template::Simple into smaller base classes. => Internal cleanup.

Changes for version 0.54_10 - 2008-09-20

  • => tts() wrapper function. => Implement 25-chomp.t. => Fix tokenizer bug.

Changes for version 0.54_09 - 2008-09-17

  • => Internal cleanup. => Implemented collapse/chomp/no-chomp per directive. This hopefully completes the chomp() interface. Unit tests & Pod to come... => Added roadmap & flow chart to distro.

Changes for version 0.54_08 - 2008-09-15

  • => More fixes for the _chomp(). => Implemented pre/post chomp and collapse (tricky!).

Changes for version 0.54_07 - 2008-09-14

  • => Pod typos. => I/O layer fix. => Added ltrim/rtrim to Util. => Implemented the chomping inside the tokenizer.

Changes for version 0.54_06 - 2008-09-13

  • => You can now use $0 inside templates to access to the name of the template. => Added support for pre/post chomping (a la TT) into the tokenizer. The rest of the tokenizer or the parser currently does not support that, so it's practically useless for now (<%- -%>, <%=- -%>, etc.).

Changes for version 0.54_05 - 2008-09-12

  • => Implemented include paths.

Changes for version 0.54_04 - 2008-09-10

  • => Internal cleanup. => Improved interpolation of includes.

Changes for version 0.54_03 - 2008-09-07

  • => Added a test for changing the default delimiters. => Pod update: if the template is a FH, it will not be closed after reading.

Changes for version 0.54_02 - 2008-09-07

  • => Implemented comment directives. => Removed fix_uncuddled. Seemed like nonsense :p => Added DEBUG_TOKENS to the tokenizer. => Implemented & documented the no "monolith" option (also renamed cache_monolith to monolith). => ".tts" is now the official file extension for Text::Template::Simple templates. Updated test suite and Pod to reflect this.

Changes for version 0.54_01 - 2008-08-30

  • => Fix _parser_id(). => Pod updates. => Implemented the "dynamic" include directive. => Implemented interpolation in includes => New tests for includes. => Removed deprecated parts. => New cache file format. => All files are now in UTF-8 encoding.

Modules

Simple text template engine
Base class for Text::Template::Simple
Base class for Text::Template::Simple
Base class for Text::Template::Simple
Base class for Text::Template::Simple
Caller stack tracer
Utility functions

Examples