I would like to color format the text printed to the console using the Perl print command.
In my case the script will only be run under WinXP-DOS Command Line but it wou
For any terminal that supports ANSI escape codes you can use the Term::ANSIColor package available on CPAN.
From the Wikipedia page:
Console windows in Windows versions based on NT (Windows NT 4.0, Windows 2000, Windows XP, Windows Server 2003, Windows Vista and Windows Server 2008) do not natively support ANSI Escape sequences, though some support is possible.
Don't know any more Windows-specific information than that, I'm a POSIX guy. :-)