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


in reply to See if it exists before I reinvent it

It could be that it exists. Maybe not in the exact form you're imagining, but ...

I found these:

  1. colordiff, a Perl script to colorize diff output (but in ANSI console)
  2. Convert diff output to colorized HTML, a bash script

As for namespace, I'd think in the direction of "Text::Diff::Colorized::HTML", which is quite a mouthful.

Replies are listed 'Best First'.
Re^2: See if it exists before I reinvent it
by mpersico (Monk) on Aug 30, 2012 at 19:45 UTC
    I am actually using the code at your #2 in a pipeline. That is going to be my jumping off point for he module. I'll check out colordiff also. Thanks.