in reply to Searching for duplication in legacy code

As I am reading this the CPAN nodelet to the right shows recent upgrades to Class::Inspector, which has methods for examining the functions or methods in a loaded or other class, one of which will return "a reference to an array of CODE refs of the functions", which seems like it might be something to start with.

The way forward always starts with a minimal test.
  • Comment on Re: Searching for duplication in legacy code