smack has asked for the wisdom of the Perl Monks concerning the following question:
Greetings Monks;
I have been working a bit with Win32::Console::ANSI. It seems to be a nice module, however, I can't figure out how to get it to change the foreground/text color for the entire screen. I have managed to print text in different colors with lines like this:
Cheers,
smack
“There are no cats in America, and the streets are paved with cheese.” -Fievel Mousekewitz
I have been working a bit with Win32::Console::ANSI. It seems to be a nice module, however, I can't figure out how to get it to change the foreground/text color for the entire screen. I have managed to print text in different colors with lines like this:
I want to be able to set themes for entire scripts though, without calling system("color"). Any help would be greatly appreciated!print colored ("White on Blue.\n", 'White on_blue');
Cheers,
smack
“There are no cats in America, and the streets are paved with cheese.” -Fievel Mousekewitz
Back to
Seekers of Perl Wisdom