in reply to comparing arrays
perlfaq4 contains the canonical response, although one of the ::Compare modules mentioned above may be better for your purposes.