Apache::Reload == Lost ENV
by Anthony Gardner other posts by this author
Dec 1 2006 6:00AM messages near this date
RE: New member
|
Re: Apache::Reload == Lost ENV
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-run
s the pkg. This time the HTTP_* stuff is all missing and all that remains in %ENV are the va
rs 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
|