in reply to CGI.PM related questions.
would give you this:use strict; use CGI; { my $p = new CGI; print $p->header; print $p->start_html ("Title Page"); print $p->p (center ($p->font ({-size=>'+7'}, "This is a test" +))); print $p->end_html; }
(I reformatted the HTML to make it more readable. CGI.pm usually runs stuff together)Content-Type: text/html <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> <HTML> <HEAD> <TITLE>Title Page</TITLE> </HEAD> <BODY> <P><CENTER><FONT SIZE="+7">This is a test</FONT></CENTER></P> </BODY> </HTML>
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: Re: CGI.PM related questions.
by merlyn (Sage) on Jun 13, 2000 at 04:02 UTC | |
by jcwren (Prior) on Jun 13, 2000 at 04:27 UTC | |
|
RE: Re: CGI.PM related questions.
by chromatic (Archbishop) on Jun 13, 2000 at 03:25 UTC | |
|
RE: Re: CGI.PM related questions.
by Anonymous Monk on Jun 14, 2000 at 11:48 UTC | |
|
RE: Re: CGI.PM related questions.
by Anonymous Monk on Jun 14, 2000 at 15:36 UTC |