On Fri, 15 Oct 1999, Andrei A. Voropaev wrote:

> Sorry. Contrary to the replies I couldn't install handler as arbitrary
> perl code that returns reference to code. Only "sub {your code here}"
> actually works. Everything else logs error when attempting to fetch
> the URL.

you need to use "sub {...}", mod_perl just does a quick check:
if((anon = strnEQ(imp,"sub ",4))) {

you could implement a PerlDispatchHandler or subclass the PerlHandler
directive (with a "directive handler") if you want to do something more
complex.

-Doug

Reply via email to