* Rob Mueller <[EMAIL PROTECTED]> [2002-10-13 08:00]: > Just wondering if anyone has seen this problem before, or has a general > solution to it. Basically what we see, is that with some submitted forms, > usually with 8 bit data, the POST parameters passed become 'doubled'. The > problem is that we have a loop like this to gather out all the parameters > early on in our handler code.
This isn't a solution, but you could unique the values: foreach my $Key ($R->param) { my %uniq; my @UParam = grep { ++$uniq{$_} == 1 } $R->param($Key); $CGIState{$Key} = scalar(@UParam) > 1 ? \@UParam : $UParam[0]; } (darren) -- You can discover more about a person in an hour of play than in a year of discussion. -- Plato