I'm def not the first to have noticed this, I googled but nothing sprang out at me.
I have a pkg var our $DOCUMENT_ROOT = WWW::Utils->document_root(); and I print %ENV at package level WWW::Utils->printenv(); If, after changing this pkg's code, I issue a new request, the DOCUMENT_ROOT is set okay and %ENV is printed out correctly. Then Apache::Reload kicks in, does its stuff and then re-runs the pkg. This time the HTTP_* stuff is all missing and all that remains in %ENV are the vars we set up in apache conf files. Thus DOCUMENT_ROOT (and others) have become unset. Am I doing sth stupidly wrong here? -Ants (feeling a bit foolish) Send instant messages to your online friends http://uk.messenger.yahoo.com