Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: semantic diff for Perl code

by jonadab (Parson)
on Sep 14, 2017 at 22:15 UTC ( #1199425=note: print w/replies, xml ) Need Help??


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 (Canon) 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 (Archbishop) on Sep 14, 2017 at 22:43 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1199425]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (2)
As of 2019-12-12 07:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?