> > when I put [$ Syntax EmbperlBlocks $] in the executed file, > it works as expected but when I try to set syntax in base > file as a parametr in Execute call, Embperl fails with > > Endtag '/table' doesn't match starttag 'tr' > > I tested syntax => 'Text', it does the same thing. > > base file > > [- Execute({ inputfile => '*', syntax => 'EmbperlBlocks' }) -] >
This is not a bug, it's a little bit different for '*', because this file is preloaded by Embperl::Object, to be able to call methods inside the file, before the actual file is executed. So you could only set EMBPERL_SYNTAX in the httpd.conf or use [$ syntax $]. The other possibility is to use an application object and override the method get_receipe. See eg/web/epwebapp.pl for an example. Gerald --------------------------------------------------------------------------- Gerald Richter ecos electronic communication services gmbh IT-Securitylösungen * Webapplikationen mit Apache/Perl/mod_perl/Embperl Post: Tulpenstrasse 5 D-55276 Dienheim b. Mainz E-Mail: [EMAIL PROTECTED] Voice: +49 6133 939-122 WWW: http://www.ecos.de/ Fax: +49 6133 939-333 --------------------------------------------------------------------------- ECOS BB-5000 Firewall- und IT-Security Appliance: www.bb-5000.info --------------------------------------------------------------------------- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]