############# Martin wrote: ### ### Something like this: ### ________________________ ### | Results: 1 2 3 4 5 6 7 | <- End of Dialog ### | 8 9 10 11 ... | ### ________________________ ###
### Is it this what you are looking for? $_ = "result: THIS IS MY RESULT "; print join "\n", m/.+? /g; print "\n\n"; ### result: ### THIS ### IS ### MY ### RESULT ### or this? print join "\n", m/.{1,12}/g; ### result: THIS ### IS MY RESUL ### T ### Remark: Be sure to add a blank at the end of your result string.