IWETHEY v. 0.3.0 | TODO
1,095 registered users | 0 active users | 0 LpH | Statistics
Login | Create New User
IWETHEY Banner

Welcome to IWETHEY!

New Diffing stuff in Perl
Okay, so I'm using Text::Diff and its tabular output is nifty, but are there any other diff-o-matics out there that folks would recommend instead of (or, indeed, as well as) Text::Diff?

The main thing I'd like to do is, when diffing two arrays (rather than two files), put some information into the header so that the output isn't just two unlabelled columns.


Peter
[link|http://www.no2id.net/|Don't Let The Terrorists Win]
[link|http://www.kuro5hin.org|There is no K5 Cabal]
[link|http://guildenstern.dyndns.org|Home]
Use P2P for legitimate purposes!
New I haven't used that...
But if you can't figure out how to do what you want with that module, you can modify it to add the option that you need.

Or you can just go to [link|http://search.cpan.org/~nedkonz/Algorithm-Diff-1.15/lib/Algorithm/Diff.pm|Algorithm::Diff] and code up what you need. (That's what Text::Diff uses under the hood anyways.)

Cheers,
Ben
I have come to believe that idealism without discipline is a quick road to disaster, while discipline without idealism is pointless. -- Aaron Ward (my brother)
     Diffing stuff in Perl - (pwhysall) - (1)
         I haven't used that... - (ben_tilly)

Sorry about the mass of technical details.
32 ms