Do you know where your variables are? | |
PerlMonks |
Re: compare an array of hashesby inman (Curate) |
on Mar 09, 2006 at 16:38 UTC ( [id://535432]=note: print w/replies, xml ) | Need Help?? |
Functions such as each_array and pairwise from List::MoreUtils will allow you to iterate over two lists at a time and process them. This assumes that your lists are similar and you are just trying to get different items.
If your data is key driven then you can use a hash to find the unique keys and then grep them from the list.
In Section
Seekers of Perl Wisdom
|
|