in reply to Re: String concatenation issues with 00?
in thread String concatenation issues with 00?

The output is like that because foreach line of <DATA> he is printing it three different times. Go ahead and remove the first two print statements and behold the desired output!

EDIT: nevermind. Maybe he is calling the wrong script. I do it all the time! Ill copy a script to another directory and make updates to it, then save and run it while still in the other directory, and wonder why the output never changes haha
  • Comment on Re^2: String concatenation issues with 00?

Replies are listed 'Best First'.
Re^3: String concatenation issues with 00?
by kcott (Archbishop) on Nov 19, 2015 at 03:26 UTC

    Between reading your response and replying, you've updated your post. That's fine but just to clear up any misunderstanding:

    I was demonstrating that the posted code did not produce the posted output. In fact, it did produce the desired output (along with a couple of test print lines).

    — Ken

      Yep, understood :)