Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
mod_perl Apache::Request vs Apache->requestby drfrog (Deacon) |
on Jan 21, 2004 at 21:56 UTC ( [id://323035]=perlquestion: print w/replies, xml ) | Need Help?? |
drfrog has asked for the wisdom of the Perl Monks concerning the following question:
while i understand the difference between these two i am unsure how to
handle these back and forth. let me explain: I have an upload module with the handler using an Apache::Request later on i want to send all the info recieved from a file to another module that inserts this information into a database table rather than pass through a LWP::Simple::get call i would like to call the subroutine that handles the logic directly like so: BUT i have the above subroutine pulling in the Apache->request object if through MYMod::Add::handler so i tried something like this in my upload module and then but this just borks out the upload procedure and nothing get processed, whereas if i just pass in the Apache::Request it doesnt process the parameters correctly can anyone explain the finesse i am messing up?
Back to
Seekers of Perl Wisdom
|
|