This seems to be the solution. If not a final solution, so very close. I notice we don't need Text::Diff as your code is just calling Algorithm::Diff::diff(). So I replaced use Text::Diff with use Algorithm::Diff.
Thank you, and also thanks to tye for his reply and for the module Algorithm::Diff.
/LIn reply to Re^2: Characters in disguise
by Anonymous Monk
in thread Characters in disguise
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |