- or download this
my $foo = $dbh->selectrow_array("SELECT cola FROM table WHERE id=$q->p
+aram('id')");
## This does not work.
## I could do something similar to this to solve the problem.
my $cgi_vars{id} = $q->param('id');
my $foo = $dbh->selectrow_array("SELECT cola FROM tablet WHERE id=$cgi
+_vars{id}");
- or download this
foreach (keys %cgi_vars) { $q->param($_ => $cgi_vars{$_}); }
- or download this
$template->param(
templatefoo => $q->param( 'foo' ),
templatebar => $q->param( 'bar' )
);