Path: usenet.cise.ufl.edu!usenet.eel.ufl.edu!arclight.uoregon.edu!hammer.uoregon.edu!zephyr.texoma.net!uunet!in1.uu.net!192.108.254.29!nntp.teleport.com!news.teleport.com!not-for-mail
From: Russ Allbery <
[email protected]>
Newsgroups: comp.lang.perl.announce,comp.lang.perl.modules
Subject: ANNOUNCE: Term::ANSIColor 0.09 available
Followup-To: comp.lang.perl.modules
Date: 17 Feb 1997 14:26:26 GMT
Organization: The Eyrie
Lines: 27
Sender:
[email protected]
Approved:
[email protected] (comp.lang.perl.announce)
Message-ID: <
[email protected]>
NNTP-Posting-Host: gadget.cscaper.com
X-Disclaimer: The "Approved" header verifies header information for article transmission and does not imply approval of content.
Xref: usenet.cise.ufl.edu comp.lang.perl.announce:105 comp.lang.perl.modules:1745
Term::ANSIColor 0.09 has been uploaded to PAUSE and should be available
from CPAN shortly. From the README:
While ANSI color escape codes are fairly simple, it can be hard to
remember the codes for all of the attributes and the code resulting from
hard-coding them into your script is definitely difficult to read. This
module is designed to fix those problems, as well as provide a
convenient interface to do a few things for you automatically (like
resetting attributes after the text you print out so that you don't
accidentally leave attributes set).
Despite its name, this module can also handle non-color ANSI text
attributes (bold, underline, reverse video, and blink). It exports
either of two interfaces, one of which uses "constants" for each
different attribute and the other of which uses two subs that take
strings of attributes as arguments.
Although this should be considered a beta release, the module is fairly
straightforward and relatively well-tested; I don't anticipate it changing
much, if at all.
Comments, suggestions, and bug reports are welcome.
--
Russ Allbery (
[email protected]) <URL:
http://www.eyrie.org/~eagle/>