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
system("color A"); #DOS command, change text color to lime
system("color 7"); #DOS command, change text color to white
However those commands change text color on the whole screen. Type "color ?" in DOS window to see color options
I am using strawberry perl on Windows and I did not have Win32::Console package. To install this package type in console:
perl -MCPAN -e shell
install Win32::Console
exit