in reply to Re: comparing nested data structures
in thread comparing nested data structures

Or if you want to compare arrays as well (and hashes of arrays, and arrays of hashes) then Data::Compare. It won't tell you what the differences are though.