in reply to Understanding ANSI Output Failure
From the readme of Win32::Console::Ansi
"Windows NT/2000/XP does not support ANSI escape sequences in Win32 Console applications. This module emulate an ANSI console for the script which uses it."
Also I found this link about loading ansi.sys
As far as your original post, you indicate a perl program does not produce the same results as a C program, when both are writing to STDOUT. Have you tried unbuffering the output?
$| = 1;
--bibo
In Section
Seekers of Perl Wisdom