Add $|++; at the top of the program.
In reply to Re: Win32::Console problem by BrowserUk in thread Win32::Console problem by hoffy