in reply to Re^2: Getting a funny newline that was not there before ([OT] shuffle)
in thread Getting a funny newline that was not there before

Excellent point. I guess this demonstrates the value of giving variables meaningful names. If %hash had been named %seen or %uniq, then the intent would be much clearer.