NAME

School::Code::Compare - Calculate the difference between two strings

VERSION

version 0.001

SYNOPSIS

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"}      
                                   ); 

BIN / SCRIPT

This distribution ships a script. You migth want to look at the script compare-code in the bin directory.

For documentation of the used libraries, keep on reading.

AUTHOR

Boris Däppen <bdaeppen.perl@gmail.com>

COPYRIGHT AND LICENSE

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.