Please remember to reply to the mailing list, not the original sender:

  http://gnudip2.sourceforge.net/#mailinglist

+++++++++

I know I said I gave up, but I tried one more time.

I believe I have found a simple change that makes GnuDIP work with
mod_perl again. I have fixed it in 2.3.5.

For anyone who is interested ...

The problem began when the HTTP update server was introduced.

It occured because mod_perl uses a "name space" based on the URL name
when it compiles a CGI script, but uses a different name space when it
compiles a "use"-ed script! It exports everything from the "use"-ed
script's name space into the name space of the CGI script that first
"uses" it. When a second CGI script runs under the same process as the
first script (the random element) and "uses" the same script, it does
not get recompiled, nor does its name space get exported to the name
space of the second CGI script! So subroutines do not get found!!

There was only one URL/CGI script before the HTTP update server.

I added a line to each CGI script to force them both to use the same
name space. It seems to work now.

-- 
Creighton MacDonnell
http://macdonnell.ca/

--
GnuDIP Mailing List
http://gnudip2.sourceforge.net/#mailinglist

Reply via email to