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

Are you intentionally using the intermediate hash to reorder your @files array?

He could be de-duping the list.


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
"I'd rather go naked than blow up my ass"
  • Comment on Re^2: Getting a funny newline that was not there before ([OT] shuffle)

Replies are listed 'Best First'.
Re^3: Getting a funny newline that was not there before ([OT] shuffle/uniq)
by toolic (Bishop) on Mar 26, 2010 at 01:13 UTC
    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.