Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Comparing Directories

by why_bird (Pilgrim)
on May 01, 2008 at 09:58 UTC ( [id://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 MyModule.pm 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!

why_bird

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?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (5)
As of 2024-04-18 02:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found