On 11/30/06, David Bear <[EMAIL PROTECTED]> wrote:
my $q = CGI->new();
my %params = $q->Vars;
foreach $f (keys (%params)) {
print "$f is $params{$f} ";
}
use CGI;
my $q = CGI->new();
my %params = $q->Vars;
foreach my $f (keys (%params)) {
print "$f is $params{$f}\n";
}
--
WC (Bill) Jones
I would like to iterate over the list of fields posted. Then, use the field
name to access the value of that field in params.
The CGI module says I can
%params = $q->Vars;
to get the paramter list as a hash table.
but then I want to do
my $q = CGI->new();
my %params = $q->Vars;
foreach $f (key
David Bear wrote:
I'm trying to put a client side redirect with http-equiv refresh. I'm using
the syntax:
my $req = CGI->new();
print $req->header( "text/html" );
print $req->start_html( -head=>meta({-http-equiv => 'refresh',
In the above line the call to meta() is a function call, but you
I'm trying to put a client side redirect with http-equiv refresh. I'm using
the syntax:
my $req = CGI->new();
print $req->header( "text/html" );
print $req->start_html( -head=>meta({-http-equiv => 'refresh',
-content => '1;URL=' . $req-refere()}));
but I get an error:
Undefined