PDA

Click to See Complete Forum and Search --> : Perl Script Replace


kurtsimons
Sep 30th, 2000, 06:58 PM
I need to replace all the new line characters with a <br> or something else so that my datafile stays one order per line.

replace \n with <br>



$content=~tr/\n/<br>/;