Hi,
>
> I am working on a website which is using ePerl for embedding Perl code
> in HTML. Due to various reasons I am contemplating migrating to EmbPerl
> or Mason. The problem is that in ePerl all code are delimited by <% ....
> %> but in EmbPerl I see [- / [+ / [* and other delimiters. I could
> obviously sit and rework the whole site but that is a uphill task and
> prone to errors espcially since there doesn't seem to be a one to one
> mapping. My issues :
> 1. A cursory glance tells me replacing <% with [* and %> with *] should
> solve most of my problems - is this approach correct - [* is in a
> experimental stage, performance issues maybe ??

No performace issues. As long as you only use [* *] there should be no
problems, but mixing [* *] with other sorts of blocks, especialy metacommds
and when you are using my variables _and_ mixing different types of blocks
you will run into problems. Also you need either set optRedirectStdout or do
a print to OUT to get any output from a [* *] block.

Embperl 2.0 will fully support [* *]. (hopefully) comming soon.

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