in reply to compare and output to the screen

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?

Replies are listed 'Best First'.
Re^2: compare and output to the screen
by coronalvrr (Initiate) on Apr 25, 2009 at 16:15 UTC
    I'm beginning and unsure of where my problem is. I just figured I'd spend the day working on some code in an ongoing attempt to try to learn it. I thank you for your help and will check out FAQ 4