Hi,

> ---cut---
> [$ foreach  $num(1..2)  $]
>     [- print OUT "hello "; -]
>     goodbye
> [$ endforeach $]
> ---cut---
>

As I wrote in one mail in the last days, print OUT inside a loop doesn't
work. This is a bug in Embperl, but not so easy to fix. Use

[$ foreach  $num(1..2)  $]
    [+ "hello " +]
    goodbye
[$ endforeach $]

as workaround (which is faster anyway)

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