P5-text-simpletemplate

Jul 20, 2023

Yet another Perl module for template processing

This is yet another library for template-based text generation.

Template-based text generation is a way to separate program code and data, so non-programmer can control final result like HTML as desired without tweaking the program code itself. By doing so, jobs like website maintenance is much easier because you can leave program code unchanged even if page redesign was needed.

The idea is simple. Whenever a block of text surrounded by ‘<’ and ‘>’ or any pair of delimiters you specify is found, it will be taken as Perl expression, and will be replaced by its evaluated result.

Major goal of this library is simplicity and speed. While there’re many modules for template processing, this module has near raw Perl-code i.e., “s|xxx|xxx|ge” speed, while providing simple-to-use objective interface.



Checkout these related ports:
  • Zxing-cpp - ZXing C++ Library for QR code recognition
  • Zu-hunspell - Zulu hunspell dictionaries
  • Zu-aspell - Aspell Zulu dictionary
  • Zq - Easier and faster alternative to jq
  • Zorba - General purpose C++ XQuery processor
  • Zenxml - Simple C++ XML Processing
  • Zed - Command-line tool to manage and query Zed data lakes
  • Yq - Command-line YAML and XML processor, jq wrapper for YAML/XML documents
  • Yould - Pronounceable word generator
  • Yodl - Easy to use but powerful document formatting/preparation language
  • Yi-hunspell - Yiddish hunspell dictionaries
  • Yi-aspell - Aspell Yiddish dictionary
  • Yelp-xsl - DocBook XSLT stylesheets for yelp
  • Yelp-tools - Utilities to help manage documentation for Yelp and the web
  • Ydiff - Diff readability enhancer for color terminals