in reply to outputs followed by each other

If you accept input and do not them use chomp on that input, then the input will contain a newline character. The example in the hyperlink tells all.