> sorry i didn't have a chance to track this down further and fix it,
> but if you have a chance maybe you could do so...
>
> in 1.3.3, certain changes to the %fdat hash break parsing of selects in
html forms.
>
> i'm attaching a simple piece of embperl that tickles the bug.
>

That's not a bug, but an optimization. Your code contains two SELECT tags
with the same name but different values. Embperl assumes that the value
doesn't change between these two selects and preprocesses the values when it
encounters the first SELECT. The preprocessing result is stored for later
use, to make things fasters. That the same for checkboxes, because in both
cases there may exist more than one value for a given name.

Your code should run correctly if you reset the hash %fsplitdat (i.e.
%fsplitdat = () ) between the two selects.

Gerald

P.S. Please send any further questions to the embperl mailing list


-------------------------------------------------------------
Gerald Richter    ecos electronic communication services gmbh
Internetconnect * Webserver/-design/-datenbanken * Consulting

Post:       Tulpenstrasse 5         D-55276 Dienheim b. Mainz
E-Mail:     [EMAIL PROTECTED]         Voice:    +49 6133 925131
WWW:        http://www.ecos.de      Fax:      +49 6133 925152
-------------------------------------------------------------




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to