This is an HTML issue really, replace the \n with <BR>  or  encapsulate the whole 
textual content of your page in <PRE></PRE> tags.
I recommend the first option.
Take a look at your page-source in the browser, when you've loaded the page..

Tom Norwood.

-----Original Message-----
>From : [EMAIL PROTECTED]
To : [EMAIL PROTECTED]
Date : 05 December 2001 11:04:10
Subject : “\n“ in Perl
Hi to All,
>I' d like to know why, when I use a cgi script under Win95, the browser
>doesn't print in output the carriage-return “\n“.
>An example: this is my simple cgi script:
>
>print qq'
><HTML>
><HEAD><TITLE>Perl Page</TITLE></HEAD>
><BODY BGCOLOR = “FFFFCC“>';
>for (1..5) {print qq'Hello\n';}
>print qq'</BODY></HTML>';
>
>In output I see the word “Hello“ repeated 5 times in a same line. Instead
>of using the char “\n“, is it possible to use some combination of Ascii
>code?
>
>Thanks a lot in advance !!
>Angelo
>
>
>-- 
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>


----------
Get a free, personalised email address at http://another.com
TXT ALRT! Stop wasting money now. Send FREE, personalised txt
from http://another.com
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to