Rhesa Rozendaal wrote:
> Dan Horne wrote:

> The important thing here is that the devpopup module checks the env var
> at import() time, which means that it should be set prior to use() being
> executed.
> 
> I'll have a look under a more recent version of mod_perl in the mean time.

That's the critical point. compile time vs run time. The BEGIN block
trick you mentioned forces the $ENV var to be set before the CAP::DP is
finished compiling.

Like Rhesa said, just make sure that the SetEnv and PerlSetEnv happen
before either your startup.pl or the PerlModule directives.

-- 
Michael Peters
Developer
Plus Three, LP


---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/[email protected]/
              http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to