in reply to Re: foreach - adding newlines?
in thread foreach - adding newlines?

You're not ignoring the OP's question...the wrong thing is being chomp'd and that's the source of the problem :-)

Replies are listed 'Best First'.
Re^3: foreach - adding newlines?
by nitehawk (Initiate) on Feb 09, 2009 at 21:07 UTC
    As I mentioned in the OP, I've tried chomp-ing various things in various places - is there somewhere specifically you would recommend? I'm open to try anything.
    Tnx
Re^3: foreach - adding newlines?
by ikegami (Patriarch) on Feb 09, 2009 at 21:42 UTC
    Improper chomping doesn't explain the presence of a new line between v1 and v2.
      It does explain it if he's just doing chomp; instead of chomp($some_variable); (expecting perl to magically know what to chomp).
        No. Why would not chomping add newlines in the middle of a string?