On Thu, 31 Aug 2000, Geoffrey Young wrote:
> > I'm not fully sure I understand the difference between this and whats
> > there already. However yes, you can drop this from Apache::Dispatch by
> > simply calling register_module() yourself:
>
> well, I haven't actually tried it yet :)
>
> but my understanding is that, other than it stat'ing everything, you can
> specify modules, but that requires adding
>
> > use Apache::Reload;
>
> to the code.
Nope. Doesn't require that in 0.04+
> Apache::AuthCookie is a cpan module, so I thought it would be
> nice to be able to use Reload in my subclass and have it stat and reload
> AuthCookie without having to touch the shrink wrapped stuff.
>
> make sense? it's still early over here...
>
> I guess you could always PerlSetVar ReloadModules "Apache::AuthCookie"
> though, but for multiple inheritance, it gets kinda tiresome..
Now I see where you're coming from... Interesting concept. Would it be an
extra option to traverse @ISA?
My suggestion would still be manual, of course. But doesn't require you to
modify the original module. This works though:
use Apache::Reload;
map { Apache::Reload->register_module($_, $INC{$_}) } @ISA;
--
<Matt/>
Fastnet Software Ltd. High Performance Web Specialists
Providing mod_perl, XML, Sybase and Oracle solutions
Email for training and consultancy availability.
http://sergeant.org | AxKit: http://axkit.org
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]