| raptor wrote: | > | > hi Josh, | > | > I'm using Apache::StatINC on my dev server.... but read in the ASP source : | > | > #Apache::StatINC didn't quite work right, so writing own | > | > :") and i was wondering should I switch to ASP StatINC option....instead? | > And yes I really had/have problems with Apache::StatINC from time to time | > ... not very often but have :") | > | | I like StatINCMatch config in development for Apache::ASP, | and works pretty reliably. If you have a lot of modules, | then you will need to run Apache::ASP->Loader() with StatINC | defined to catalog module subs at parent httpd startup. | | I wrote the StatINC stuff to not undefine just any subroutine, | but only subroutines with just one symbol. Imported subroutines | break for example under Apache::StatINC style undeffing because | two symbols might point to the same coderef, and if one is | undefined, it can cause problems. I believe Apache::Reload | suffers from the same problems. | | If you wanted to use Apache::ASP StatINC outside of Apache::ASP, | then you could try: | | sub handler { | my $ASP = Apache::ASP->new(Apache->request); | $ASP->StatINC(); | } | | --Josh | | _________________________________________________________________ | Joshua Chamas Chamas Enterprises Inc. | NodeWorks Founder Huntington Beach, CA USA | http://www.nodeworks.com 1-714-625-4051
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]