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>/;
Anyone know of a place to go for perl questions?
Printable View
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>/;
Anyone know of a place to go for perl questions?
A good place is http://www.perl.com/ or the forums.