Oddly enough there's the
Array::Compare module (by our own
davorg) for comparing arrays, or you could use the
Data::Compare module for comparing any ol' data (yes, including hashes). You could also check out the
perlfaq for information on how to hand-roll array and hash comparison routines. Also check out the
Q&A section for even more info on how to do array and hash comparision. You're spoilt for choice really ;-)
HTH
_________
broquaint