The stupid question is the question not asked | |
PerlMonks |
module not found errors in a mod_perl handlerby tomgracey (Scribe) |
on Dec 15, 2022 at 18:07 UTC ( [id://11148896]=perlquestion: print w/replies, xml ) | Need Help?? |
tomgracey has asked for the wisdom of the Perl Monks concerning the following question: Hi Monks I am messing around creating some kind of basic proxy system using a mod_perl handler. I have some code like this:
and in my apache config:
However, when I run it I seem to get
If I add use HTTP::Config under use LWP::UserAgent at the top, it then complains about another missing module. It seems to be expecting to find these modules in /my/handler/lib, even though when I dump @INC this appears to contain all the perlbrew paths to the perl version (v34.0) I am using as expected. I tried copying verbatim a handler from the mod perl docs but with the same result. I am guessing therefore the problem is something to do with my setup and/or apache setup - but what? Any thoughts/suggestions would be helpful. Thanks!
Back to
Seekers of Perl Wisdom
|
|