On Tue, 2 Oct 2001, Guy Tubbs wrote:
> but it does the same thing, i.e. I get:
>
> Line1<br>
> Line2
>
> What I need is:
>
> Line1<br>Line2
>
> Do you know how to get rid of the returns altogether?
Odd. Here's the code snippet I ran right at the command-line:
$ perl
$text = "line1\nline2\n";
$text =~ s/\n/<br>/g;
print $text;
^d
line1<br>line2<br>$
-- Brett
http://www.chapelperilous.net/
------------------------------------------------------------------------
Tomorrow will be cancelled due to lack of interest.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]