Hello all! First of all, here are the relating parts of my httpd.conf: <IfModule mod_perl.c> PerlModule HTML::Embperl PerlSetEnv EMBPERL_FILESMATCH "\.html$" PerlSetEnv EMBPERL_DEBUG 9222 # dbgMem + dbgEval + dbgAllCmds + dbgLogLink PerlSetEnv EMBPERL_OPTIONS 16 # disables pre-processing of perl code to remove HTML tags PerlSetEnv EMBPERL_OBJECT_BASE "template.html" PerlSetEnv EMBPERL_OBJECT_FALLBACK "fallback.html" <Files *.html> SetHandler perl-script PerlHandler HTML::EmbperlObject Options ExecCGI </Files> </IfModule>
(as an aside, it was never made clear wether PerlModule must be HTML::Embperl or EmbperlObject, if I wish to use EmbperlObject... I have noticed no difference in both cases) This is template.html, just basic stuff: <b>Template:</b><BR><BR><BR> [- Execute('*'); -] <br><br><b>footer.</b> And here is index.html: <B>some bolded text in index.html</B> [* foreach $i (1..10) { *] [+ $i +] [* } *] Now, if I set PerlHandler to HTML::Embperl and execute index.html, all works, except of course for the EmbperlObject functionality (i.e. template.html does not get called). Also works with embpexec.pl. However, if I set httpd.conf as above (or with "PerlModule HTML::EmberlObject". Like I said, no difference), with PerlHandler HTML::EmbperlObject, template.html gets executed but index.html returns nothing, not even the part that falls outside the [* stary brackets *]... If I use the metacommands dollar-brackets, though, all is fine. Problem is, however, that I unfortunately had the time to get used to PHP's way of interweaving with HTML with only one kind of delimiter and, moreover, I'd prefer to use clean Perl, so that I'd even drop EmbperlObject for simple Embperl if there's no solution. Well, any feedback is appreciated. Thank you. - Adrian --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]