• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 213
  • Last Modified:

how to install modules in local directory ?

I have telnet access

I dont have ROOT access to my server and I want to install PERL MODULES in my OWN directory and point the PERL program to it ?

perl modules such as parse.pl , lwp http etc and etc

Please can anyone give me step by step info on installation and how to point my perl program to those modules ?

give me 2 options

option 1 : I cant run the "make  or install" command

option2 : I can run the above command

chris
0
christopher sagayam
Asked:
christopher sagayam
  • 2
1 Solution
 
jhurstCommented:
perl looks for modules in the directories defined in INC so just check that your own running directory is there, if not, add it with a PUSH.
0
 
ozoCommented:
'.' is usually the last element of @INC, if not, you should push it at compile time in a BEGIN sub, or with use lib
(But some modules could require root or make to install, depending on what they do)
0
 
christopher sagayamAuthor Commented:
please tell me suppose I have a cgi.pm or parse.pm or whatever.pm -- all I have to do is to move/copy it to my directory and point @INC to that directory  -- IS THAT ALL ?

IS there no need to run a "make" or a make "install" ?

chris
0
 
ozoCommented:
CGI.pm can just be copied to your directory.
I'm not sure what parse.pm or whatever.pm are, or whether or not they may depend on other modules that may require making.
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now