in reply to Re: Why does this hash remove duplicate lines
in thread Why does this hash remove duplicate lines

Nice try, but you should have tested it? %lines and %hash are two different hashes :). strict and warnings would have told you that.