I have blocks of text in my MS SQL database that look like... This is line 1 This is line 2 This is line 3
I want to reformat them like... This is line 1\par This is line 2\par This is line 3\par (I'm writing documents in RTF Format, which use \par\n in place of \n) The problem is that Perl refuses to replace the line endings when I try... $text=~s/\n/\\par\n/g; I'm stumped and can't find anything online. Should I be using something other than \n to detect line endings? - Chris _______________________________________________ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs