in reply to chomp question
Sorry, your message was hard to understand.
According to perldoc -f chomp, this function just removes $/ from the end of the scalar or from all elements of a list, but you want to append something to something.
How do you parse your line1 and line2? What do you want to append? Where do you want to append it?
EDIT: formatting, questions, links
|
---|