in reply to Diff between two arrays
A way to compare strings (and in this case you can join the arrays into strings) is to use Text::PhraseDistance that <<provides a way to compare two phrases and to give a measure of their proximity>>
In Section
Seekers of Perl Wisdom