Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

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

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (2)
As of 2023-03-29 22:40 GMT
Find Nodes?
    Voting Booth?
    Which type of climate do you prefer to live in?

    Results (73 votes). Check out past polls.