Yes, I am using Apache2, the doc is very useful.
in httpd.conf file, I use PerlInitHandler example.pm's handler() as
starting point, when I update the code in handler(), I didn't see the
updates, so I asked previous question.
After I read the head of the doc, I make sense that I need to modify
the global %INC after server is started.
I am going to do like this
sub handler {
        my $r = shift;
        my $s = Apache2::ServerUtil->server;
        my $WRoot = $s->dir_config('WRoot');
        use lib "$FindBin::Bin/$WRoot";
}

Am I correct?

On 2/6/06, Sean Davis <[EMAIL PROTECTED]> wrote:
>
> On 2/6/06 7:10 AM, "Ken Perl" <[EMAIL PROTECTED]> wrote:
>
> > When code is updated during developing period, httpd progress must be
> > reload or restart so that to see the change. If is it possible to see
> > the change without reload httpd?
>
>
> You didn't say which version of mod_perl you are using, but try looking
> here:
>
> <http://search.cpan.org/~pgollucci/mod_perl-2.0.2/docs/api/Apache2/Reload.po
> d>
>
> Sean
>
>
>


--
perl -e 'print unpack(u,"62V5N\"FME;G\!E<FQ`9VUA:6PN8V]M\"[EMAIL PROTECTED]
")'

Reply via email to