BSD Ports

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

SystemPortVersion
NetBSDtextproc/p5-Text-Template1.61nb4
FreeBSDtextproc/p5-Text-Template1.61
OpenBSDtextproc/p5-Text-Template1.61
DragonFlytextproc/p5-Text-Template1.61
MidnightBSDtextproc/p5-Text-Template1.61
HardenedBSDtextproc/p5-Text-Template1.61
GhostBSDtextproc/p5-Text-Template1.61
OPNsensetextproc/p5-Text-Template1.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.

RepositoryVersion
NetBSD 10.1 x86_641.61nb4
NetBSD 10.1 aarch641.61nb3
SmartOS / illumos x86_641.61nb4
macOS 15 arm641.61nb4

Dependencies

Run dependencies 1

Commit history 1

DateCommitCreditsLog message
618415630a wiz *: recursive bump for perl5 5.44.0