Subject: pkg/20503: Provide p5-Text-Format
To: None <gnats-bugs@gnats.netbsd.org>
From: None <sketch@rd.bbc.co.uk>
List: netbsd-bugs
Date: 02/26/2003 16:08:22
>Number:         20503
>Category:       pkg
>Synopsis:       Provide p5-Text-Format
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Feb 26 16:09:00 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Jonathan Perkin
>Release:        1.6
>Organization:
British Broadcasting Corporation
>Environment:
NetBSD batfink.intra.nut 1.6 NetBSD 1.6 (GENERIC) #0: Sun Sep  8 19:43:40 UTC 2002     autobuild@tgm.daemon.org:/autobuild/i386/OBJ/autobuild/src/sys/arch/i386/compile/GENERIC i386
>Description:
batfink# cat DESCR
Text::Format

format()        Format text into a paragraph.  Text is first broken into
                words and then joined back together to make up the
                paragraph.  There are numerous attributes you can set to
                your liking.

paragraphs()    Treats each element of the array passed in as a separate
                paragraph and passes them to format() for formatting.
                The list returned will be then formatted into separate
                paragraphs.

center()        Centers all the lines that were passed in.

expand()        Expand tabs into spaces.

unexpand()      Turn spaces into tabs.  First calls expand() to expand
                tabs into spaces and then turns tabstop number of spaces
                into tabs, you can set tabstop size with tabstop().
batfink# 
>How-To-Repeat:

>Fix:
http://www.perkin.org.uk/projects/netbsd/p5-Text-Format-0.52.tar.gz
>Release-Note:
>Audit-Trail:
>Unformatted: