>
>   in the following example first two cases work as expected while the
> third generates 'tst.html?2/16' and the fourth 'tst.html?3'. I believe
> this is a bug. I think I reported this a while ago but I don't remember
> what was the result.

It's not a bug, it's simply because of the way Perl interprets your {}. In
the cases it get the wrong result, Perl interprets the { } as block (that
groups statements),  rather as anoymous hash. Just change it to the
following and it work:

 <a href="tst.html?[+ \%fdat +]">right</a>
 <a href="tst.html?[+ scalar ({ par3 => 3, %fdat }) +]">right</a>
 <a href="tst.html?[+ scalar ({ %fdat }) +]">not wrong anymore</a>
 <a href="tst.html?[+ scalar ({ %fdat, par3 => 3 }) +]">not wrong
anymore</a>

Gerald

-------------------------------------------------------------
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