in reply to Re: How to use Term::ANSIColor module?.
in thread How to use Term::ANSIColor module?.

other than Win32::Console::ANSI, anywhere to execute Perl script with colour in Windows?
  • Comment on Re^2: How to use Term::ANSIColor module?.

Replies are listed 'Best First'.
Re^3: How to use Term::ANSIColor module?.
by BrowserUk (Patriarch) on Apr 05, 2012 at 11:34 UTC

    Yes. You could use Win32::Console directly.

    At a pinch, you could even do

    perl -E"say 'hi'; system 'color fc'; <STDIN>; say 'bye'; system 'color + 79'; <STDIN>; say 'gone'"

    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.

    The start of some sanity?