Perl Monk, Perl Meditation | |
PerlMonks |
Tweaking DynaLoader's path without write access to the perl installationby mhi (Friar) |
on May 30, 2004 at 20:58 UTC ( [id://357671]=perlquestion: print w/replies, xml ) | Need Help?? |
mhi has asked for the wisdom of the Perl Monks concerning the following question:
Dear fellow Monks, does anyone know how to change the DynaLoader's libpath from within the perl script that wants to use a library through the DynaLoader? Background is this: I have some perl scripts hosted on a webserver where I do not have control over the perl installation and therefore can not properly install perl add-ons. For static modules this is not a problem as I can use lib "/mypath" This however does not seem to work for stuff that needs the DynaLoader, like use ccom. There I consistently get the message
On the one hand this tells me, that perl actually found and understood /mypath/ccom.pm. On the other hand what really gets me is that said /mypath/auto/ccom/ccom.dll is actually right at that location, but will not be used. Any meditations on this? Thanks, P.S. Of course when I go for the thing I really want to use, which is use ccom::phonet I get the error that this is not found in the path at all. I'm just thinking of taking it one step at a time at this stage.
Back to
Seekers of Perl Wisdom
|
|