http://www.perlmonks.org?node_id=839638


in reply to Re^2: Split a string at a given line number
in thread Split a string at a given line number

That works for me, but is there a way you can split it without the newlines being removed? Thanks.