Beefy Boxes and Bandwidth Generously Provided by pair Networks httptech
more useful options
 
PerlMonks  

Re: See if it exists before I reinvent it

by bart (Canon)
on Aug 29, 2012 at 21:11 UTC ( #990572=note: print w/ replies, xml ) Need Help??


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.


Comment on Re: See if it exists before I reinvent it
Re^2: See if it exists before I reinvent it
by mpersico (Beadle) 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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://990572]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (6)
As of 2014-04-21 06:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (491 votes), past polls