How can i call a function in cgi!
i want to make a htmlsite which works with my main programm an gives the
result out!
if i use the functon name it does not work!
wo can i involve a function into this cgi script?
....
use CGI;
my $cgi = new CGI;
use CGI::Carp qw(fatalsToBrowser);
my $ei=$cgi->param("Search");
$cgi->default_dtd('-//W3C//DTD HTML 4.01 Transitional//EN');
print $cgi->header(),
$cgi->start_html('Da),
$cgi->h2('Query'),
print start??????
$cgi->h3($ei),
$cgi->hr({-noshade => undef, -size => '1'}),
$cgi->h2({-style => 'color:blue'},
$cgi->end_html();
how can i use this main programm in thr cgi section, that it becomes
part of the htmlpage?
sub start()
{
my $d;
my $date;
$date=&request("nu");
$doc=get $date;
process($doc);
}