in reply to mod_perl Apache::Request vs Apache->request
I think I know where you're at, and you could probably work around it in some way, but I would sugest modularising your code further.. Your upload module should be just that, not a handler. It should take $r as an arg and operate on that. Then you can call that module from any handler that needs it.
ps. You should also be using Apache::Request->instance but I'm not sure that that will solve your immediate problem.
cheers,
J
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: mod_perl Apache::Request vs Apache->request
by drfrog (Deacon) on Jan 21, 2004 at 23:02 UTC |