Paul Bothma wrote:
Hi,

This is probably a question that has been answered before but I couldn't
find any useful info on the list history.

Basically, I'm trying to get Apache::Reload to work properly (reload a PM
module while Apache is running when the file has changed) with mod_perl
1.99.

There are 13 modperl-1.99 releases at the moment. It'll help if you have read first: http://perl.apache.org/bugs/ ;)


I read through the POD file and also some other examples on how it is
supposed to work, but it still doesn't reload the PM files when I change the
source.

The PM files has the following header:

package CS::Transformer;

use Apache::Reload;

use CS::Config;

use strict;

blah..blah..

With the CGI file I've used the normal use CS::Transformer and also tried
require CS::Transformer; CS::Transformer->import();

And in httpd.conf:



        <Location /perl-bin/>
                SetHandler perl-script
                PerlResponseHandler ModPerl::Registry
                Options +ExecCGI
                PerlOptions +ParseHeaders
                PerlSetVar ReloadDebug On
        </Location>

Is there something that I am missing?

Where does CS/Transformer.pm live? It must be in @INC, defined at the server startup. Not pushed to @INC anywhere after the server startup.


__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

--
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html



Reply via email to