in reply to Is there a well known module or simple algorithm for applying a diff?

"Is there a well known module or simple algorithm for applying a diff?" Algorithm::Diff.

_____________________________________________________
Jeff[japhy]Pinyan: Perl, regex, and perl hacker, who'd like a job (NYC-area)
s++=END;++y(;-P)}y js++=;shajsj<++y(p-q)}?print:??;

  • Comment on Re: Is there a well known module or simple algorithm for applying a diff?

Replies are listed 'Best First'.
Re: Re: Is there a well known module or simple algorithm for applying a diff?
by Anonymous Monk on Sep 15, 2002 at 06:44 UTC

    I am looking for help applying a diff, not creating a diff. :) I was aware of Algorithm::Diff, due to the fact that it's used by Text::Diff.

    It looks like VPC::Patch will do what I want, but a bit hesitant to use it, since it seems to be specifically for RevML. I'll probably end up just rolling my own.