>   Aha. But it neither rewrites existing values nor handle multivalue
> parameters. For link
>
> <a href="page=2&lang=de&[+ [ %fdat ]  +]"
>
>   query string
>
> lang=cz&name=&city=&district=praha&features=entrance_disabled&feat
> ures=tennis
>
>   is rewitten as
>
> lang=de&page=2&city=&name=&sub=1&lang=cz&from=advanced&district=pr
> aha&features=entrance_disabled
> tennis
>
>   so 'lang' is there twice (instead of changing from cz to de)

Yes, of course. To handle this correctly you must do something like


<a href="page=2&[+ [ my %temp = %fdat ; $temp{lang} = 'de' ; [ %temp ]  +]">

of course you can setup the %temp hash before/outside of the href.

or

<a href="page=2&[+ [ %{{%fdat, 'lang' => 'de'}} ]  +]">

which looks a little nicer and actually does the same.


> and
> 'features' is sent as \t separated list
> (instead of several features=xxx expressions).

Yes, but this is no problem as long as the page that receives the data is
also an Embperl page. Embperl will interpret this correctly.

Gerald



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

Reply via email to