I used to upload the pm files in to a directory using a FTP program and in
to a folder in my web site and add the full path of that directory in to the
@INC array in each of the perl scripts that uses that module and then inport
the module. So far it worked for me.

ex:-
if your module is MyModule.pm ant it is uploaded to
/home/myuser/my_module_store

add this code to your scripts

unshift @INC '/home/myuser/my_module_store';
use MyModule;


I am not sure whether this works for complex modules that has c compiled
files in it.

LRMK
----- Original Message ----- 
From: "jason corbett" <[EMAIL PROTECTED]>
To: "perl beginners" <[EMAIL PROTECTED]>
Sent: Tuesday, June 29, 2004 9:39 PM
Subject: Installing a module when you have limited permissions


> Hello. I wanted to know if someone has installed a PERL module on a server
where they had limitied permissions? I am not extremely UNIX savy but I do
know the basic and know the something about the file structures, etc. Can
someone tell me how I can install MIME::Lite on a server where I may use it,
and give others permission to use my install?
>
> Thanks,
> JC
>


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to