P is for Practical | |
PerlMonks |
Re: Equivalency of Codeby paulbort (Hermit) |
on Feb 07, 2005 at 21:32 UTC ( [id://428824]=note: print w/replies, xml ) | Need Help?? |
If you want to know if two pieces of code are functionally the same, you could write a test framework and if they both pass all the same tests, they are similar to the extent of your tests. But that is impractical in the general case. If you want to see how similar two source files are, zip them. This is done in plagiarism detection. -- Spring: Forces, Coiled Again!
In Section
Seekers of Perl Wisdom
|
|