using \n in a cgi script

2002-12-31 Thread dhoubrechts
Every time I want to use a perl script as a cgi the "\n" ending the phrases doesn't make it going at the beginning of the next line. Why ? Several script coming from Perl in Action (O'Reilly) have those "\n" ending those phrases. Here are some lines coming from one of them : sub document_de_garde {

Re: using \n in a cgi script

2002-12-31 Thread Rob Dixon
Bonjour M Dhoubrechts Si je vous comprends .. If I understand you, you're expecting the characters '\n' to appear in the printed output? In Perl, '\n' is one of the short ways of expressing a single ASCII control character, this one is LF - or 'linefeed' - which has value 10 in the ASCII sequence.

Re: using \n in a cgi script

2002-12-31 Thread Jenda Krynicky
From: dhoubrechts <[EMAIL PROTECTED]> > Every time I want to use a perl script as a cgi the "\n" ending the > phrases doesn't make it going at the beginning of the next line. Why ? > Several script coming from Perl in Action (O'Reilly) have those "\n" > ending those phrases. Here are some lines com

Re: using \n in a cgi script

2002-12-31 Thread R. Joseph Newton
Hi, Look at your source for the web page. You will see: Salut\ ! Bienvenue dans notre magasin d'habillement\  Faites votre choix dans le menu ci-dessous Which will show up in your browser as:#apologies to those without HTML-enabled mail clients Salut Bienvenue dans notre magasin d'habillem