[Israel.pm] CGI::param - setting values
Shmuel Fomberg
semuelf at 012.net.il
Mon Apr 7 23:32:26 EEST 2008
Hi All.
I'm reviewing the bit of code that handles form input from the browser.
I'm thinking on getting all the supplied parameters, decode them, and
then set them back.
Something like that:
foreach my $key ($q->param) {
my $new_value = decode("...", $q->param($key));
$q->param($key, $new_value);
}
Is that OK? will it have consiquences for the page that I'm about to
deliver?
(assuming that I don't create a form in the outgoing page using CGI.pm
functions)
Thanks,
Shmuel.
More information about the Perl
mailing list