> At 6:44 AM +0200 5/24/02, Gerald Richter wrote:
> ><a href="[+ do { local $escmode = 0; $unescapedstring } +]">[+ $foo
+]</a>
>
> Urgh. I thought about doing that a dozen times and just assumed that
> the variable would go out of scope before you evaluated the return
> value.
Yes, that's true. The variable goes out of scope, but Embperl stores the
value during the block and uses this while outputing. Just to be able do use
local.
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]