I'd go with the output Algorithm::Diff and post-process the deletions/inserts into moves (if you can be sure that there are only moves and no lone deletions or inserts).
In reply to Re: Difference between two arrays
by Corion
in thread Difference between two arrays
by rafl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |