Doug MacEachern wrote:
On Sat, 13 May 2000, Robert Nice wrote:
use lib '../site_perl';
it's been explained, 'use lib' happens at compile time (once per-script)
and @INC is reset to whatever it was startup time after each request. the
simple solution for you, which i didn't see
On Sat, 13 May 2000, Robert Nice wrote:
use lib '../site_perl';
it's been explained, 'use lib' happens at compile time (once per-script)
and @INC is reset to whatever it was startup time after each request. the
simple solution for you, which i didn't see mentioned, is to modify @INC
at
Yeah but that doesn't help him entirely with a solution to his problem --
which is that he wants to load something at runtime later on -- not at
compile time.
And in fact, it is a must to be able to do this in some cases. eg he
correctly points out that LWP uses the factory design pattern to
On Sat, 13 May 2000, Robert Nice wrote:
Hi,
Simple problem, I had a quick search thorugh the archives and a good
delve into the perl website, no joy.
You didn't delve deep enough, perl.apache.org/index.html reveals no
mod_perl specific info.
Guide is your guide into mod_perl. The answer