@roboticus
Thanks for the help. I've tried the code that you've just gave and it didn't worked in Perl hehehe! However when I tried that on creating a batch file it worked :)
@BrowserUk
Right now I'm trying to figure out what is the problem.. I installed the Win32::Console::ANSI and the status is done.. But when I run the code still the error persist.. When I checked my library on Perl Strawberry, there is no Win32::Console::ANSI folder there (even the library of vender and site folders, anyway I just checked them if in case if it was installed there).. Anyway to add some information regarding this it seems the installation progress is installed at the ActivePErl not on the Strawberry Perl... To add up here's the exact message of the problem..
"Can't locate loadable object for module Win32::Console::ANSI in @INC +(@INC contains: C:/strawberry/perl/site/lib C:/strawberry/perl/vendor +/lib C:/strawberry/perl/lib .) C:\Users\willy\Documents\Perl\colortes +t.pl line 1 Compilation failed in require at C:\Users\willy\Documents\Perl\colorte +st.pl line 1 BEGIN failed--compilation aborted at C:\Users\willy\Documents\Perl\col +ortest.pl line 1."
I followed the steps on installing the module (referring to the previous post) but still the problem persist. I'm running Windows 7 Professional 64-bit, and im running perl either command line or the strawberry command line at run as administrator..
Hope you could help me troubleshoot this with this information given.. Thanks to all for the help.
In reply to Re: Colored text output in Windows cmd
by astronogun
in thread Colored text output in Windows cmd
by astronogun
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |