in reply to Compare files and copy differences

If you're doing this on a Unix-like operating system, or on Win32 with Cygwin, have a look at the diff(1) command. You'd probably be better off reading diffs and working with their output than reinventing the wheel. You might also look in CPAN for diff-related modules.

--
:wq

Replies are listed 'Best First'.
Re: (FoxUni) Re: Compare files and copy differences
by Anonymous Monk on Jan 17, 2002 at 05:34 UTC
    Not an Perl solution, but if you're on a Win32 platform, I highly recommend using a tool called BeyondCompare(http://www.scootersoftware.com/)...

    Ok ok it's not free, but there is an eval version, and it has a lot of nifty features.