[HRPM] Form generation

Jeff Rowan jrowan at visi.net
Tue Oct 24 08:46:19 CDT 2000


Gee,
Here's how to write tag attributes. I'd look at the CGI pod or man page. One
source is the documentation at perl.com

#!/usr/bin/perl
use CGI qw(:standard :html -body);
print header();
print start_html("Test Title");
print body({-background=>'slate.gif'}, h1("Test Title"));
print end_html;

Hope this helps,
Jeff Rowan

----- Original Message -----
From: "Gee Gwaltney" <gee at gwaltne.erols.com>
To: <norfolk-pm-list at happyfunball.pm.org>
Sent: Tuesday, October 24, 2000 12:42 PM
Subject: [HRPM] Form generation


> I'm trying to teach myself to use perl. In a sample form script
> the author begins the script with:-
> #!/usr/bin/perl -w
> use strict;
> use CGI qw(:standard);
> print header(), start_html("Ice Cream Stand"), h1("Ice Cream Stand");
> I would like to add body background color but I can't find how to do it.
> I would like to open a file such as slate.gif to do this.
> Could someone show me how to do this or point me to an information
> source?
>
> Gee
>




More information about the Norfolk-pm mailing list