B
Bush is a Fascist
I am starting to wonder if Perl CGI is used anymore,
because the basic CGI module doesn't seem to function
any longer.
I tried writing a simple CGI script for Perl, using
examples from the web, and I found that the code
oddly enough doesn't work. I'm using the CGI module,
as follows:
#!/usr/bin/perl
use DBI;
use CGI;
my $query = new CGI;
print $query->header ( );
my $tt = $query->param("tt");
print "tt = ";
print $tt;
My form definitely passes tt in the URL as a Get parameter,
yet the Perl script prints nothing for tt.
What is going wrong here? Has CGI fallen into disuse and
decay, having been replaced by something else?
Has everyone moved over to using PHP?
because the basic CGI module doesn't seem to function
any longer.
I tried writing a simple CGI script for Perl, using
examples from the web, and I found that the code
oddly enough doesn't work. I'm using the CGI module,
as follows:
#!/usr/bin/perl
use DBI;
use CGI;
my $query = new CGI;
print $query->header ( );
my $tt = $query->param("tt");
print "tt = ";
print $tt;
My form definitely passes tt in the URL as a Get parameter,
yet the Perl script prints nothing for tt.
What is going wrong here? Has CGI fallen into disuse and
decay, having been replaced by something else?
Has everyone moved over to using PHP?