I'm running Embperl 1.2.1, and calling it from a mod_perl handler
using the Execute call.  I'm letting Embperl load up the pages and
cache them.  However, it is not picking up changed pages unless I
restart Apache.

Is this a known problem ?  Is there a fix ?

I tried running `apache -X', which doesn't help, but makes the
symptoms clearer.  By putting `print STDERR' lines into EmbPerl.pm I
can see that a different $mtime is indeed being passed to
SetupRequest, and looking at the embperl log, I can see that it logs
the Reload correctly, but the old page continues to be generated.  

Do you have any idea of what is going wrong ?  In case this helps, I'm
calling Execute in this way:

 my $rv= HTML::Embperl::Execute({
     inputfile => $fnam,
     output => \$out,
     param => $param,
     options => (HTML::Embperl::optReturnError + HTML::Embperl::optDisableChdir + 
                 HTML::Embperl::optDisableFormData + 
HTML::Embperl::optKeepSrcInMemory),
     cleanup => 1,
     fdat => $fdat,
     errors => \@err
     });

Cheers -

Jim

-- 
 Jim Peters         /             __   |  \              Aguazul
                   /   /| /| )| /| / )||   \
 jim@aguazul.      \  (_|(_|(_|(_| )(_|I   /        www.aguazul.
  demon.co.uk       \    ._)     _/       /          demon.co.uk

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to