in reply to Re: Two keys with the same name in a hash.
in thread Two keys with the same name in a hash.

$var=join "," ,keys %DATABASE;
print "$var\n";
I see duplicates.
  • Comment on Re^2: Two keys with the same name in a hash.

Replies are listed 'Best First'.
Re^3: Two keys with the same name in a hash.
by cog (Parson) on Feb 09, 2005 at 11:20 UTC
    You might be seeing things that *look* the same, but I'm pretty sure they aren't :-)

    Try this:

    use Data::Dumper; print Dumper([keys %DATABASE]);

    Does it have duplicate values inside? If so, tell us what those values are.