This should normaly work, but sometimes mod_perl has problems with correctly
setting environement variables in such a situation. You can try to use
SetEnv instead of PerlSetEnv
Gerald
-Ursprüngliche Nachricht-
Von: Robert <[EMAIL PROTECTED]>
An: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Datu
>>I thought that by being declared inside [- -], the subroutine would be
>>recompiled on every request, thus losing any reference to @fields.
>>
No, the reference is not lost, so what Angus wrote about closures was
exactly right.
You should simply pass in the @fields as parameter to your sub or
At 07:32 AM 3/1/01, Jonny Cavell wrote:
>I thought that by being declared inside [- -], the subroutine would be
>recompiled on every request, thus losing any reference to @fields.
>
>Jonny
I don't think it recompiles anything unless mtime has changed.
Turn on dbgShowCleanup to see for sure...
-m
I thought that by being declared inside [- -], the subroutine would be
recompiled on every request, thus losing any reference to @fields.
Jonny
J>-Original Message-
J>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
J>Sent: Wednesday, February 28, 2001 10:37 PM
J>To: [EMAIL PROTECTED]
Dimitar Peikov wrote:
>
> PerlSetEnv is a global directive and the last that were executed is the valid
> one!
Well, the docs say:
> The runtime configuration is done by setting environment variables, either on the
>command line (when working offline) or in your web server's configuration fil
Hi,
I'm trying to set EMBPERL_OPTIONS to some reasonable system-wide and
then change it for virtual hosts as necessary. My httpd.conf looks like
this
PerlSetEnv EMBPERL_OPTIONS 8208
...
PerlSetEnv EMBPERL_OPTIONS 10256
but this doesn't work. What am I doing wrong? Thanks.