Subject: | Hash::Diff combines an array of hashes rather than see them as equal |
A hashes with a structure such as
{code}
my %hash1=(
array => [
{ name => "fred james" },
{ name => "john james" },
]
);
my %hash2=(
array => [
{ name => "fred james" },
{ name => "john james" },
]
);
my %diff = %{ diff( \%hash1, \%hash2 ) }
{code}
get combined rather than reported as being the same:
{code}
$ perl hashdiff
(
"array",
[
{ name => "fred james" },
{ name => "john james" },
{ name => "fred james" },
{ name => "john james" },
],
)
{code}
Example script showing the above problem attached
Subject: | hashdiff |
Message body not shown because it is not plain text.