perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gerald Richter" <rich...@ecos.de>
Subject RE: I18N and non-literals
Date Thu, 10 Aug 2006 04:49:18 GMT
> 
> [$ foreach $var qw(string chain thing) $] [= $var =] [$ endforeach $]
> 
> will only appear as:
> 
> $var
> $var
> $var
> 
> Why is it so? Is there a way I can change this setting? I 
> know I can call [+ $req_rec->gettext($var) +] instead, but it 
> loses all the beauty ;-)
> 

At the moment there is no build in way to change this. Basicly it should not
be hard to extent the EmbperlBlocks syntax (see
Embperl/Syntax/EmbperlBlocks.pm) to do what you want.

Gerald


 
** Virus checked by BB-5000 Mailfilter ** 


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


Mime
View raw message