http://www.perlmonks.org?node_id=551576


in reply to ANSI escape sequences

Try some *ANSI* module from CPAN, e.g. Term::ANSIColor. Personally that's the way I choose whenever I have to use ANSI sequences. If that's giving you the same problems, than you do not have a problem with perl, but with your terminal. In fact back in the days of good ole' DOS I used to have an ANSI driver enabled, but nowadays afaik Windows console is not ANSI enabled and I don't even know if there are "plugins" or whatever that will make it such.