On Mon, 17 Apr 2000, Vivek Khera wrote:

> >>>>> "SB" == Stas Bekman <[EMAIL PROTECTED]> writes:
> 
> SB> Of course, anyone has a sample <Perl> section handy? I'm still an
> SB> C<Apache::Registry> fan, to be changed soon :)
> 
> I don't see what <Perl> sections have to do with using or not
> Apache::Registry instead of handlers...

Because when you have hundreds of different <Location>'s to configure (and
there is a lot of repetition), it's easier with Perl. Isn't it? At least
that's what people said on the list. 

> But, I've been toying with the idea of writing an Apache::Dispatch
> module that would take all URL's of the form something like
> 
> http://localhost/perl/My/Module/handlerfunc
> 
> and dispatch the call to My::Module::handlerfunc()
> 
> Assuming that My::Module was already loaded, otherwise it would
> generate a run-time error (or maybe we'd do a "require" -- dunno yet).
> The URL trigger /perl/ would be configurable, of course.
> 
> Does anyone have something like this already?  It would certainly make
> adding handlers as easy as adding Registry scripts.  I guess it is
> sort of an ultra-light-weight Registry, in some sense.

Cool!


______________________________________________________________________
Stas Bekman             | JAm_pH    --    Just Another mod_perl Hacker
http://stason.org/      | mod_perl Guide  http://perl.apache.org/guide 
mailto:[EMAIL PROTECTED]  | http://perl.org    http://stason.org/TULARC/
http://singlesheaven.com| http://perlmonth.com http://sourcegarden.org
----------------------------------------------------------------------

Reply via email to