[Date Index][Thread Index]
[Date Prev][Date Next][Thread Prev][Thread Next]

Re: embedding ePerl commands in grid cells

On Tue, 30 May 2000, Mark Hoebeke wrote:

> Embedding Perl commands in grid cells doesn't seem to work.
> Here's an example :
> 	#use wml::std::grid
> 	#use wml::std::tags
> 	<page>
> 	<grid>
> 	<cell>Here comes some Perl code</cell>
> 	<cell><: print "Hello" :></cell>
> 	</grid>
> 	</page>

Hi Mark,

this is a known limitation, ePerl tags cannot be nested, and as <grid>
do use ePerl, you cannot put ePerl code into <cell> tags.

Good news is that there is a solution, explained in wml_macros(7).
 	#use wml::std::grid
 	#use wml::std::page
 	<cell>Here comes some Perl code</cell>

Denis Barbier
WML Maintainer

Website META Language (WML)                www.engelschall.com/sw/wml/
Official Support Mailing List                   sw-wml@engelschall.com
Automated List Manager                       majordomo@engelschall.com