[Israel.pm] A progblem with files diff.

Levenglick Dov-RM07994 Dov at freescale.com
Wed Jan 25 00:44:48 PST 2006

Try Text::Diff (http://search.cpan.org/author/RBS/Text-Diff-0.35/lib/Text/Diff.pm)

Best Regards,
Dov Levenglick
DSP SoC System and Applications Engineer,
Network and Computing Systems Group
Freescale Semiconductor Israel
Tel. +972-9-952-2804
The information contained in this email is classified as:
[ ] General Business Information
[ ] Freescale Internal Use Only
[ ] Freescale Confidential Propriety
[x] Personal Memorandum

-----Original Message-----
From: perl-bounces at perl.org.il [mailto:perl-bounces at perl.org.il] On Behalf Of Meron.Cohen at ecitele.com
Sent: Wednesday, January 25, 2006 10:41 AM
To: perl at perl.org.il
Subject: [Israel.pm] A progblem with files diff.


Problerm description:

Given 2 text files (that might be large, 60MB approximately, sometimes)  I 
need to find all differences between those 2 files.
Tried to use "diff", but for large files it doesn't work. So, I tried to 
use "bdiff" (for Big Diff), and it worked, only it doesn't give the 
minimum differences, 
because it does the diff segment by segement (so, I can't use it for my 


I would like to know if there is a perl module that can overcome the upon 
problems. If there is one, could you give me a brief example?


If you know about an option to give a diff algorithm or program a Regular 
Expression as a parameter, in order to skip differences that match this 
RE, it would be wonderful.
If you don't know a good module for this but know a program that would do 
it for me, that would be a temporary solution for me.

Thanks a lot,

Meron Cohen
Perl mailing list
Perl at perl.org.il

More information about the Perl mailing list