On Wed, 5 Dec 2001 [EMAIL PROTECTED] wrote:
> 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'
>
> Perl Page
> ';
> for (1..5) {print qq'Hello\n';}
> print qq'';
>
CTED]
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:
>
>prin
Hi,
use for (1..5) { print qq'Hello\n'; } instead
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 m
a line break.
So do:
for (1..5) {print qq'Hello';}
Hope this helps.
Carl
--
>From: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: "\n" in Perl
>Date: Wed, Dec 5, 2001, 11:04 am
>
> Hi to All,
> I' d like to know why, when I use a cgi scri
Angelo,
to make a new line in HTML you have to use the tag . New lines and
spaces more than one are completely ignored.
This is an HTML issue, so if you have more questions you may ask me off-list.
Stephan
--
Dipl.-Chem. Stephan Tinnemeyer
Lindenallee 20
24105 Kiel
Germany
--
To unsubscribe,
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'
Perl Page
';
for (1..5) {print qq'Hello\n';}
print qq'';
In output I see the word "Hello" repeated 5 times in