"Ian D. Stewart" wrote:
>
> Frank Merrow wrote:
> >
> > I am told there is a File::Compare module that will compare two files.
> >
> > A ppm search didn't show anything useful under "file" or "compare".
> >
> > Before I system("cmp $f1 $f2), does anyone know where to find this beast?
>
> Try looking for Algorithm::Diff, or you can get the native equivelant,
> diff.exe, from MingW32.
If you just want to see if two files are different, DO NOT use
Algorithm::Diff.
For one thing, the one by MJD on CPAN is horrible with respect to memory
usage,
using about 600 MB (!) to compare two 4000-line text files.
I've re-written it (and can provide it if anyone wants), but it still
isn't
the right thing to use for just seeing if two files are the same.
--
Ned Konz
currently: Stanwood, WA
email: [EMAIL PROTECTED]
homepage: http://bike-nomad.com, Perl homepage:
http://bike-nomad.com/perl
---
You are currently subscribed to perl-win32-users as: [archive@jab.org]
To unsubscribe, forward this message to
[EMAIL PROTECTED]
For non-automated Mailing List support, send email to
[EMAIL PROTECTED]