> Hi All > > using Term:ANSIColor - does anyone know if it's possible ( or maybe I mean > practical) to print out negative numbers in say RED, at the same time > ensuring the original value is retained. > > so if value is -16 the it should print 16 in RED text otherwise leave it > alone. >
Since you asked, I say it isn't practical, but then I am incredibly color deficient and use a dark terminal window. So most shades of red are lost on me in a terminal window (obviously anyone in the truly color blind world, we have a support tech here who is, really wouldn't care).... I would advocate making it optional. Does Term::ANSIColor understand when a user has chosen a different font-weight for a particular color, anyone? http://danconia.org -- Boycott the Sugar Bowl! You couldn't pay me to watch that game. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>