Stas Bekman wrote:

> Ted Prah wrote:
> > Thanks for the input Stas.  I found your debugging methodology
> > to be very informative and especially useful in a mod_perl environment.
> >
> > I tried your suggestion of commenting out
> >              require $key;
> > in Reload.pm, but it did not work for me.  I'd be happy to try
> > any other suggestions you might have.
>
> But did you debug whether the module was reloaded from test.pl with the
> modified Reload.pm? If so was the import() called? If not, try to have
> it as a separate call:
>
> require My::Test;
> My::Test->import(':subs');
>

This worked!  The modification to Reload.pm was not necessary for
this to work.

>
> > Your code to work around Exporter worked fine.  However,
> > I think I'll stick with using Exporter so that I can make use
> > of the export tags.
>
> But it doesn't seem to work? You can easily extend the import() function
> I've suggested to suppport tags.
>

Right, it doesn't work unless I restart the server.  Restarting the
server has been made easier due to your advice on cloning the
apachectl script and setting the suid bit.

Thanks again for all your help,

Ted

>
> __________________________________________________________________
> 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

Reply via email to