need dependency on bash for REPLACE_BASH to work properly.
[pkgsrcv2.git] / devel / p5-Term-ANSIColor / DESCR
1 This module has two interfaces, one through color() and colored()
2 and the other through constants. It also offers the utility function
3 uncolor(), which has to be explicitly imported to be used (see
4 "SYNOPSIS").
5
6 color() takes any number of strings as arguments and considers them
7 to be space-separated lists of attributes. It then forms and returns
8 the escape sequence to set those attributes. It doesn't print it
9 out, just returns it, so you'll have to print it yourself if you
10 want to (this is so that you can save it as a string, pass it to
11 something else, send it to a file handle, or do anything else with
12 it that you might care to).
13
14 uncolor() performs the opposite translation, turning escape sequences
15 into a list of strings.