School::Code::Compare - Calculate the difference between two strings
version 0.001
my $comparer = School::Code::Compare->new() ->set_max_char_difference(400) ->set_min_char_total ( 20) ->set_max_distance (400); my $comparison = $comparer->measure( $files[$i]->{"code_$algo"}, $files[$j]->{"code_$algo"} );
This distribution ships a script. You migth want to look at the script compare-code in the bin directory.
compare-code
For documentation of the used libraries, keep on reading.
Boris Däppen <bdaeppen.perl@gmail.com>
This software is copyright (c) 2017 by Boris Däppen.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install School::Code::Compare, copy and paste the appropriate command in to your terminal.
cpanm
cpanm School::Code::Compare
CPAN shell
perl -MCPAN -e shell install School::Code::Compare
For more information on module installation, please visit the detailed CPAN module installation guide.