in reply to symbols are used for "a new line"

You may find the variables $/ and $\ helpful. These are described in perlvar and there are examples throughout.