in reply to Term::ANSIScreen Won't Work

First, you're buffering your output. This is on by default, thus you need to take a step to turn it off. Try $|++ somewhere before you start printing anything out. That will turn off the buffering.

Second, I seem to recall there being something you need to do to get a windows console to interpret the ANSI codes, but don't remember what that is. Hopefully a Windows monk will know.

Replies are listed 'Best First'.
Re^2: ANSIScreen won't work
by ikegami (Patriarch) on Jun 27, 2006 at 17:18 UTC

    I seem to recall there being something you need to do to get a windows console to interpret the ANSI codes

    The console doesn't naturally understand ANSI escape sequences. Adding use Win32::Console::ANSI; to your script adds support for ANSI escape sequences to STDOUT(your console).