in reply to locally installed modules not interfacing

Is it possible that HTTP::Request is not aware, at compile time, of the library search path you've created with 'use lib'?

<-radiant.matrix->
Larry Wall is Yoda: there is no try{} (ok, except in Perl6; way to ruin a joke, Larry! ;P)
The Code that can be seen is not the true Code
"In any sufficiently large group of people, most are idiots" - Kaa's Law
  • Comment on Re: locally installed modules not interfacing

Replies are listed 'Best First'.
Re^2: locally installed modules not interfacing
by mike hal (Initiate) on Sep 22, 2005 at 20:25 UTC
    I think you are asking the right questions. Yes....I think that this is possible. I have tried to address this concern by replacing 'HTTP::Request' in Message.pm with 'require "/absolue/path/to/HTTP/Request.pm";' but I get the same error.

      I think you're missing the point. HTTP::Request require's other modules. But, HTTP::Request may not be aware of your modified @INC (which you create with use lib). How can HTTP::Request load those if it doesn't know where to find them?

      I don't know if this is the issue, perhaps a more knowledgeable monk can help.

      <-radiant.matrix->
      Larry Wall is Yoda: there is no try{} (ok, except in Perl6; way to ruin a joke, Larry! ;P)
      The Code that can be seen is not the true Code
      "In any sufficiently large group of people, most are idiots" - Kaa's Law
        ...Or maybe I don't tell the whole story :-) . In addition to the 'require full/path, I had tested this theory earlier by first setting the PERL5LIB environment variable and later by specifying the @INC values within the module themselves. Both appproaches had no effect.