Term::ANSIColor 2.02

The substantive changes in this release are a new colorvalid function (not exported by default) that checks whether attributes are recognized by the module, and the addition of faint as a synonym for dark. The colorvalid function replaces an earlier technique with catching exceptions at the request of the Perl::Critic maintainers. (I think it's kind of silly, but it was simple enough to provide.)

I took a look at running Perl::Critic over this module to see if it would be useful, but my first impression is that it isn't particularly. Much of the coding style suggestions are reasonable, but in some cases they don't match mine or aren't useful for some reason, and all the references are to a book that doesn't appear to be freely available. I was pondering whether to add Perl::Critic to my normal set of test cases, but I think I won't bother for right now. I have enough other things to work on.

You can get the latest version from the Term::ANSIColor distribution page.

Posted: 2009-08-30 19:18 — Why no comments?

Last spun 2013-07-01 from thread modified 2013-01-04