BSD Ports

textproc/p5-Text-SimpleTemplate 0.36_1 DragonFly

Yet another Perl module for template processing

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
Categories
perl5, textproc
Package size
7.8 KiB, 11.7 KiB installed

Description

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 '<%25' and '%25>' (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.

In the other systems

SystemPortVersion
DragonFlytextproc/p5-Text-SimpleTemplate0.36_1
FreeBSDtextproc/p5-Text-SimpleTemplate0.36_1
HardenedBSDtextproc/p5-Text-SimpleTemplate0.36_1
GhostBSDtextproc/p5-Text-SimpleTemplate0.36_1

Install

Binary package:

pkg install p5-Text-SimpleTemplate

From DPorts:

cd /usr/dports/textproc/p5-Text-SimpleTemplate && make install clean

Dependencies

Run dependencies 1
Required by 1