ashok has asked for the wisdom of the Perl Monks concerning the following question:

Hi, I am looking for some hints/examples on writing output in colors on Windows platform in Perl. I tried with this code
use Term::ANSIColor; print color("red"),"Hello",color("reset");
But I am getting some junk characters. Can You pl. help me? Thanks Ashok

Replies are listed 'Best First'.
Re: colorful writing
by rlk (Pilgrim) on Jan 04, 2001 at 11:05 UTC
Re: colorful writing
by t0mas (Priest) on Jan 04, 2001 at 12:55 UTC
    You will have to load the ANSI driver (ANSI.SYS) in order to use ANSI colors on your win32 command prompt. Instructions on how you do this on a NT box can be found here and here.

    /brother t0mas