in reply to Compare arrays
I would suggest to use the module Data::Compare. It has more flexible ways to compare other Perl datastructures.
http://search.cpan.org/~dcantrell/Data-Compare-1.22/lib/Data/Compare.pmComment on Re: Compare arrays