http://qs321.pair.com?node_id=1211950


in reply to RFC: perl sub diff between two files

This node falls below the community's threshold of quality. You may see it by logging in.
  • Comment on Re: RFC: perl sub diff between two files

Replies are listed 'Best First'.
Re^2: RFC: perl sub diff between two files
by LanX (Saint) on Mar 29, 2018 at 07:26 UTC
    >  e.g. git or svn. Both of which can compare and reconcile differences

    You sound like sundial ...

    Neither GIT nor SVN can "compare or reconcile" using Perl semantics, they work only by line* comparison.

    Otherwise please show me how to do this with a subroutine which moved from start to end of a file after refactoring.

    Cheers Rolf
    (addicted to the Perl Programming Language and ☆☆☆☆ :)
    Wikisyntax for the Monastery

    *) more precisely "chunks of equal lines"

      exactly one of my main motivations. although i did not use GIT nor SVN for other reasons, including laziness.