use strict;
use warnings;
use CGI;
my $cgi = CGI::->new ();
print $cgi->header ();
print $cgi->start_html ();
#
# whatever you want, do it here ;)
#
print $cgi->h1 ("hello, world!");
print $cgi->hr ();
print $cgi->end_html ();
instead of the two print statements, put in the code from my first posting. then copy the resulting script inside the /cgi-bin directory in your document root and try get it from a browser. enjoy! |