Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

Re: Comparing Directories

by why_bird (Pilgrim)
on May 01, 2008 at 09:58 UTC ( #683896=note: print w/replies, xml ) Need Help??

in reply to Comparing Directories

Also, if your SysAdmin won't let you install Perl modules in the usual place (/usr/lib* usually I think), but you can install elsewhere, this works for me (I tried to find the reference on Google, but couldn't):

  • download, and unzip the file for MyModule from CPAN
  • Extract to directory ~/MyDir
  • cd to ~/MyDir/MyModule
  • type perl Makefile.PL PREFIX="~/PerlModules/"
  • type make test; make; make install as usual for a manual install
  • Find the directory in ~/PerlModules in which resides.
  • Edit your ~/.cshrc (different for different shells) to contain the line 'setenv PERL5LIB
  • ~/PerlModules/Directory_For_MyModule'

I know this doesn't help much if you're on Windows and the last step will be different for different UNIX shells, but I was stuck on this for a while, and if you Google, you'll likely find more (and better) information than I can give!


edit: Found it! Here is a reference about how to install without root permissions, which also tells you an alternative to setting the environment variable PERL5LIB. And it talks about what to do on Windows.

Those are my principles. If you don't like them I have others.
-- Groucho Marx

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://683896]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (2)
As of 2023-05-31 04:09 GMT
Find Nodes?
    Voting Booth?

    No recent polls found