LanX has asked for the wisdom of the Perl Monks concerning the following question:


Colleague asked me if I knew a method to compare modules where functions blocks where moved.

My first idea was to extract functions (probably with PPI or B::Xref ) and to diff them individually.

The next idea only to extract sums from the different blocks...

Than it occurred to me that a "semantic diff" could be a nice help for version control comments, and could also provide informations of other forms of refactoring. *

Any ready to use projects available?

Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Je suis Charlie!

*) found this in the mean time explaining the idea