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.
In reply to Re^2: Compare text similarity
by marto
in thread Compare text similarity
by liuweichuan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |