in reply to Re^2: Term::ANSIColor is awesome, but.. (need help) (overload and override)
in thread Term::ANSIColor is awesome, but.. (need help)

Additional idea given by a Monger:

local *CORE::GLOBAL::print = \&String::Colored::sing;
That's if I want to not need to change anything in my current code, while adding colors. Any warnings against the dangers of this trick would be very welcome :-)

  • Comment on Re^3: Term::ANSIColor is awesome, but.. (need help) (overload and override)
  • Download Code

Replies are listed 'Best First'.
Re^4: Term::ANSIColor is awesome, but.. (need help) (override)
by tye (Sage) on Apr 01, 2014 at 13:44 UTC

    That's what "Override the output functions you use (like 'print')" means.

    - tye        

      Indeed (^c^) Thank you tye