in reply to Re: Search a perl reference and replace characters
in thread Search a perl reference and replace characters

I always go for the safe approach ...
Pseudocode ...
Find Replace chr(13).chr(10) with "<br>";
Find Replace chr(13) with "<br>";
Find Replace chr(10) with "<br>";

This seem to cover Winslows, Mac and Unix flavours of text input ...
  • Comment on Re^2: Search a perl reference and replace characters