in reply to Re: Two keys with the same name in a hash.in thread Two keys with the same name in a hash.
Try this:
use Data::Dumper; print Dumper([keys %DATABASE]); [download]
Does it have duplicate values inside? If so, tell us what those values are.