Matt Sergeant wrote:
>
> On Mon, 17 Apr 2000, Vivek Khera wrote:
>
> > 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.
>
> I've got something pretty similar. Let me know if you want some code.
Since I believe I'm the one that started this thread, I'd love to see
some code to enable handlers on the fly. In my case I only have perhaps
a half-dozen handlers, but multiply this times a lot of virtual hosts
and it then becomes a great boon.
IMHO, I think this would be a very useful module to people like me who
are beginning the transition to Apache handlers. One other thing that I
would love is a module to do checkboxes/pull-down list generation ALA
CGI.pm. I might rip off some code and create a module myself. I think it
would be a good first project (or maybe not - who knows until I try?)
--
Drew Taylor
Vialogix Communications, Inc.
501 N. College Street
Charlotte, NC 28202
704 370 0550
http://www.vialogix.com/