There are modules for comparing data structures.
Compare/Diff on nested data structures has pointers to some relevant modules that you might consider.
In reply to Re: Comparing records in file and reporting stats - Scenario 2
by ig
in thread Comparing records in file and reporting stats - Scenario 2
by PoorLuzer
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |