in reply to Compare text similarity

Data::Compare
You can look into below link for more details,
http://perl.mines-albi.fr/perl5.8.5/site_perl/5.8.5/Data/Compare.html

Replies are listed 'Best First'.
Re^2: Compare text similarity
by marto (Cardinal) on Feb 07, 2017 at 10:46 UTC

    Data::Compare will tell you if data structures are identical, not similar as OP mentioned. Take a look at some of the existing responses for recommendations.