Hi,
> it seems that I cannot use [* *] in pages handled by
> EmbperlObject. Since I can't find documentation for this I ask
> here: Why is that so and how can I circumvent it for
> constructions like the following without printing each line of
> HTML with a perl print statement?
>
> [*
> do {
> *]
> <SomeHTML>
> [* print "$rec->{name}"; *]
> <SomeMoreHTML>
> [*
> } while ($rec = $sth->fetchrow_hashref);
> *]
>
[* *] blocks are still experimental in 1.3b4 and have known (and unknown)
problems. They will stay in this state also in the final release of 1.3,
because it's too much work to get them really working in the 1.x
architecture. 2.x will fully support [* *] (and 2.0a6 actually already does
it!)
So if it doesn't work use:
[$ do $]
<SomeHTML>
[+ $rec->{name} +]
<SomeMoreHTML>
[$ until !($rec = $sth->fetchrow_hashref) $]
Gerald
> Andre
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
-------------------------------------------------------------
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 925151
WWW: http://www.ecos.de Fax: +49 6133 925152
-------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]