Hi,
On Tue, 27 Jun 2000, Gerald Richter wrote:
> That's because now you have a persistent Perl interpreter. In CGI mode for
> every request a new/fresh Perl interpreter is started. Under mod_perl not
> and a file that is compiled in one namespace, isn't visible in another. I
> append you a mail I send some time ago to the list, that should explain the
> behaviour.
Thanks for your explanations, using "do" instead of "require" solves
the problem for me.
However, I guess I have found another small difference between CGI-
and mod_perl-based Embperl, regarding $escmode.
>From my tests, I get the impression that setting $escmode in an
Embperl page also has impact on the $escmode setting in other
Embperl pages - that is, $escmode is _not_ resetted or set to a default
the beginning of every Embperl page.
For me, this results in a different escaping behaviour, depending on
the Apache child serving the request an on the $escmode setting of
the page served before.
Is this the "planned" behaviour of Embperl, or should it be considered
a bug or missing feature? May I set a default $escmode by using
PerlSetenv in httpd.conf?
_____
Thomas Corte
<[EMAIL PROTECTED]>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]