-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

At 7:26 PM +0100 3/17/01, Gerald Richter wrote:
>Hi Kee,
>
>thanks for sharing this. I most cases you can use Apache::Reload. This
>modules checks on every request which Perl modules have changed and only
>reload the changed ones. You could also tell it, at which modules it should
>look. This works not in all cases like your solution (e.g. it doesn't work
>when you use pseudo hashs), but normaly it's a great tool.


I tried that today and ran into a problem.  Sometimes it doesn't seem 
to figure out the path to the file, and if it's not in @INC in at 
Apache loadtime, the apache process will die with an error when it 
tries to reload the file.   My code looks like this:

        [-
           use lib "$ENV{DOCUMENT_ROOT}/libs";
           use XXX;
        -]

Sometimes it does seem to work, but not always.  I'm not sure what's 
going on, and I'm a little tired to try debugging it right now.
- -- 

Kee Hinckley - Somewhere.Com, LLC - Cyberspace Architects
Now Playing - Folk, Rock, odd stuff - http://www.somewhere.com/playlist.cgi

I'm not sure which upsets me more: that people are so unwilling to accept
responsibility for their own actions, or that they are so eager to regulate
everyone else's.

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 7.0.3 for non-commercial use <http://www.pgp.com>

iQA/AwUBOrTaKiZsPfdw+r2CEQLfYQCghSKQBdIRLaKM4Xikpl66nLqPA/oAn2HF
OsquHI+itdYjXX3YKSoQg39r
=2joc
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to