perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gerald Richter" <rich...@ecos.de>
Subject Re: inconvenient in 2.0b8
Date Sun, 02 Mar 2003 13:46:46 GMT

>[+ local $escmode=0; "href=whatever" +]

As the README.v2 say 2.0 requires a valid perl expression inside of [+ +].
The above are multiple statements, but not a single expression. Simply write
it as

[+ do { local $escmode = 0; "href=whatever" } +]

and it will work.

> <a [- print OUT "href=whatever" -]></a> (yields <a >href=whatever</a>)

This is (currently) not supported in 2.0

Gerald


--------------------------------------------------------------
Gerald Richter     ecos electronic communication services gmbh
IT-Securitylösungen * dynamische Webapplikationen * Consulting

Post:       Tulpenstrasse 5          D-55276 Dienheim b. Mainz
E-Mail:     richter@ecos.de          Voice:   +49 6133 939-122
WWW:        http://www.ecos.de/      Fax:     +49 6133 939-333
--------------------------------------------------------------
|
|   Besuchen Sie uns auf der CeBIT vom 12. - 19. März 2003
|   Messe Hannover * Halle 17 * Stand F 36
|   http://www.cebit.de/
|
+-------------------------------------------------------------


---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Mime
View raw message