in reply to Re: semantic diff for Perl code
in thread Semantic diff for Perl code

This assumes that the module's code is stored on github,

git diff will work on any git repository, regardless of where it is hosted; and, more generally, diff will work even if version control is not involved, if you can put the two source trees you want to compare side by side on the filesystem.

I'm not sure this is really what was asked for, though. If a function block has been moved and possibly changed, diff mostly shows you that it was moved, and you need to actually look at the moved code line by line to see if it also changed.

Replies are listed 'Best First'.
Re^2: semantic diff for Perl code
by talexb (Chancellor) on Sep 15, 2017 at 14:46 UTC

    True .. I made the leap that we were talking about modules on CPAN, and that may have been a completely unsupported hypothesis.

    Since I've been using git for about ten years now (it seems that long), I now imagine git whenever someone talks about version control. And there's another logical leap.

    Alex / talexb / Toronto

    Thanks PJ. We owe you so much. Groklaw -- RIP -- 2003 to 2013.

Re^2: semantic diff for Perl code
by LanX (Saint) on Sep 14, 2017 at 22:43 UTC