Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: See if it exists before I reinvent it

by bart (Canon)
on Aug 29, 2012 at 21:11 UTC ( [id://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

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.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (5)
As of 2024-04-23 06:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found