textproc/p5-Text-Template 1.61nb4 NetBSD
Perl5 library for generating form letters
- System
- NetBSD
- Repository
- pkgsrc
- Maintainer
- [email protected]
- Last update
- Commit
618415630a- License
- artistic AND gnu-gpl-v2
- Categories
- textproc, perl5
- Package size
- 32.3 KiB, 139.7 KiB installed
Description
This is a library for generating form letters, building HTML pages, or filling in templates generally. A `template' is a piece of text that has little Perl programs embedded in it here and there. When you `fill in' a template, you evaluate the little programs and replace them with their values. Here's an example of a template:
Dear {$title} {$lastname},
It has come to our attention that you are delinquent in your
{$monthname\[$last\_paid\_month\]} payment. Please remit
${sprintf("%.2f", $amount)} immediately, or your patellae may
be needlessly endangered.
The result of filling in this template is a string, which might look something like this:
Dear Mr. Gates,
It has come to our attention that you are delinquent in your
February payment. Please remit
$392.12 immediately, or your patellae may
be needlessly endangered.
In the other systems
| System | Port | Version |
|---|---|---|
| NetBSD | textproc/p5-Text-Template | 1.61nb4 |
| FreeBSD | textproc/p5-Text-Template | 1.61 |
| OpenBSD | textproc/p5-Text-Template | 1.61 |
| DragonFly | textproc/p5-Text-Template | 1.61 |
| MidnightBSD | textproc/p5-Text-Template | 1.61 |
| HardenedBSD | textproc/p5-Text-Template | 1.61 |
| GhostBSD | textproc/p5-Text-Template | 1.61 |
| OPNsense | textproc/p5-Text-Template | 1.61 |
Install
Binary package:
pkgin install p5-Text-Template
From pkgsrc:
cd /usr/pkgsrc/textproc/p5-Text-Template && make install clean
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | Version |
|---|---|
| NetBSD 10.1 x86_64 | 1.61nb4 |
| NetBSD 10.1 aarch64 | 1.61nb3 |
| SmartOS / illumos x86_64 | 1.61nb4 |
| macOS 15 arm64 | 1.61nb4 |