Both worked great, thanks!  I used the latter to make the resulting code
easier to read.  I knew it was something simple like that!

-Ryan


"Robert Citek" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
> Hello Ryan,
>
> Replace this line:
>   $body=~[what goes here?]
> with this:
>   $body=~ s/\n/<br>\n/g;
> or this:
>   $body=~ s/\n/<br>/g;
>
> Do either of these do what you intend?
>
> Regards,
> - Robert
>
> -----
>
> At 04:44 PM 9/7/2001 -0700, Ryan Kane wrote:
> [...]
> >from the script:
> >------------------------------
> >#!/usr/local/bin/perl
> >use CGI;
> >$q = new CGI;
> >$body = $q->param('body');
> >$body=~[what goes here?]
> >
> >print "Content-type:text/html\n\n";
> >print <<END_OF_HTML;
> >(html code goes here with $body used as part of the code)
> >------------------------------
>



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to