> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, October 04, 2001 10:20 AM
> To: [EMAIL PROTECTED]
> Subject: CGI <br>
> 
> 
> I'm not really clear on how PERL works when writing HTML.

The same way any other tool does when writing HTML.

> 
> when writing to a console, you simply use \n to move to the next line
> but using the same code in a browser I get everything on the 
> same line.
> 
> is there a way that when writing to HTML, the \n gets 
> converted to <br> or 
> do you have to explicitly print out every <br>?

The latter, unless the text is enclosed in <pre></pre> tags.

This is not a Perl issue, it's an HTML issue.

See http://www.w3.org/TR/html4/struct/text.html for all the poop.

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

Reply via email to