in reply to Compare array of hashes

How did your teacher say to do it?

But God demonstrates His own love toward us, in that while we were yet sinners, Christ died for us. Romans 5:8 (NASB)

Replies are listed 'Best First'.
Re^2: Compare array of hashes
by AnishaM (Acolyte) on Aug 25, 2016 at 12:41 UTC
    He asked me to do it by iterating through both the structures and then comparing them.

      Check out Not Exactly a Hash Tutorial in the Tutorials section for some ideas. Iterating through hashes is covered, among other very useful topics. If you want to program effectively in Perl, you need to know hashes.

      But God demonstrates His own love toward us, in that while we were yet sinners, Christ died for us. Romans 5:8 (NASB)

      So, that would probably be a good idea. And I'll bet that your lectures or the parts of the book you're supposed to have read and learned from offers answers to your 'gimmé.'

      We're here to help you learn. Doing your homework does not help you learn. So go back to the book and your notes and try to solve your problem. We're here to help if you get stuck on some part of the code you'll bring back (you will bring code back, right?).


      Yet another gimmé request!
      Sorry, we expect SOPW to seek wisdom, not to ask us to do so for them.