Hi, use for (1..5) { print qq'Hello<br>\n'; } instead
<br> is a layout equivalent of \n; - JW On Wed, 5 Dec 2001 [EMAIL PROTECTED] wrote: > 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]