in reply to Comparing two deep hash of hashes
If you do not need detailed output, but a simple "flag" of same/diff, Test::More offers
is_deeply (\%hash1, \%hash2, "Comparing my hashes");
If you need a more in-depth analysis, Test::Differences will show you the diffs
eq_or_diff (\%hash1, \%hash2, "Comparing my hashes");
alternative formatting is available in the functions table_diff, unified_diff, context_diff, oldstyle_diff, eq_or_diff_text and eq_or_diff_data.
|
|---|