BSD Ports

textproc/p5-Text-Padding 1.110170 DragonFly

Simple way of formatting a text

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
ART10, GPLv1+
Categories
perl5, textproc
Package size
11.6 KiB, 43.4 KiB installed

Description

Text::Padding provides a simple way to align a text on the left, right or center. If left & right are easy to achieve (see sprintf()), i found no cpan module that achieved a simple text centering. Well, of course, Perl6::Form provides it, but it's incredibly slow during startup / destroy time. And Text::Reform was segfaulting during destroy time.

Hence this module, which aims to provide only those 3 methods.

In the other systems

SystemPortVersion
DragonFlytextproc/p5-Text-Padding1.110170
FreeBSDtextproc/p5-Text-Padding1.110170

Install

Binary package:

pkg install p5-Text-Padding

From DPorts:

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

Dependencies

Run dependencies 4

No port depends on this one.