I would recommend that you start by writing code that just prints these 2 structures.That is the iterating part.
There are modules like Data::Dumper than can do this for you. But, you should know how to access each individual element for yourself. Once you've done that (can access and print all the pieces), then you can come up with a strategy to compare these various pieces together.
There are many people here who can easily solve this problem, but we really aren't helping you learn Perl if we give you a "cut-and-paste" thing. Have a "go at it" yourself and post your code. You will get hints if you are "stuck".
In reply to Re: Compare array of hashes
by Marshall
in thread Compare array of hashes
by AnishaM
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |