This is a FAQ. See perlfaq4 about How do I test whether two arrays or hashes are equal?, which, coincidentially, is quite similar in structure to what you already have.
Maybe you want to tell us where your problem is?
In reply to Re: compare and output to the screen
by Corion
in thread compare and output to the screen
by coronalvrr
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |