Perl

Name: Buildtext - Standalone Perl Script to Merge Text and Template

Version: 1.0.0

OVERVIEW

The standalone perl script buildtext merges a text as read from a given file or from stdin with a template file and sends the output either to stdout or to a specified file. Though the script is initially intended to build html output, it may be used to create any kind of formated text as given by the template. The not that new but good idea is to separate content and formatting.

The script uses the functionality of the famous Text::Template module by Mark Jason Dominus. Additionally it provides some kind of variable expansion not only in the template file, but in the text input file too.

License: GPL

Download latest version of script