Perrin Harkins wrote:
On Wed, 2004-03-31 at 15:04, Stas Bekman wrote:

Sorry, I've posted the wrong link. It should have been:
http://perl.apache.org/docs/2.0/api/Apache/Reload.html#Problems_with_Scripts_Running_with_Registry_Handlers_that_Cache_the_Code


It doesn't really offer a nice solution though, does it?  It looks to me
like the best way to handle it is with Apache::Symbol, just like
Apache::StatINC did.  It looks like you can just add this to your
Registry script:

 use Apache::Symbol ();
 @ISA = qw(Apache::Symbol);

Or maybe look at the code in StatINC and do the same thing in Reload.

This is only available for mp 1.x though.

Yes, we started discussing this functionality on the dev list some time ago, but it wasn't finished. We certainly need some kind of a similar solution. I may try to revive that thread in a few days.


__________________________________________________________________
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