Jimmy --
...and then Jimmy George said...
%
% Hello World
Hi!
%
% David pointed out that the \n is not applicable in the context I was in
% and that the html was. Of course! Only silly tired people like me
% do dumb things like that after having been using them in text
% definitions for the
Hello World
David pointed out that the \n is not applicable in the context I was in
and that the html was. Of course! Only silly tired people like me
do dumb things like that after having been using them in text
definitions for the previous hour or more.
Sorry about that.
cheers
Jimmy George
note, you could remove the if you are running it on a shell instead of a
browser
}
-
Regards,
David
- Original Message -
From: "Jimmy George" <[EMAIL PROTECTED]>
To: "cgi" <[EMAIL PROTECTED]>
Sent: Tuesday, August 13, 2002 2:19 AM
Subject: new
on Tue, 13 Aug 2002 08:19:39 GMT, [EMAIL PROTECTED] (Jimmy
George) wrote:
> This script is from a text book
[code snipped]
> but how do we put \n's into it for a better display on the screen??
All "\n" are ignored by you webbrowser (unless they are between a
pair of tags).
If you want to s
Hello World
This script is from a text book
#! /usr/bin/perl -w
#
use CGI;
use strict;
#
my $q = new CGI;
#
print $q->header("text/html"),
$q->start_html("Environment check"),
$q->server_name,
$q->ser