hi,
how to forward parameters from $cgi->param() to another page when I
don't know how many parameters are there and how they are called?
Not clear if you are generating another form and want to pass variables
through it, or attempting to redirect them to some other handler. But to
pass submitted variables through another form as hidden variables,
somewhere within the CGI generated form do something like:
foreach ($cgi->param) { print $cgi->hidden($_), "\n"; }
Of course you would need to make certain that and subsequent forms use
different field names so they do not get mixed up with previous fields.
And you could eliminate having to replicate '$cgi->' so often in your
script by using function method instead of object method.