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.

-- 
<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 http://xml.sergeant.org

Reply via email to