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

How are you looking for that key?
  • Comment on Re: Two keys with the same name in a hash.

Replies are listed 'Best First'.
Re^2: Two keys with the same name in a hash.
by sashac88 (Beadle) on Feb 09, 2005 at 11:07 UTC
    $var=join "," ,keys %DATABASE;
    print "$var\n";
    I see duplicates.
      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.