Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Hi, I am one among the several users of UNIX system, and i don't have permissions to install a PERL module on that system, But i need to use DBI module is there any way that i can use it or install it in my local directory and use it. Thanks, Bob.

Replies are listed 'Best First'.
Re: How 2 install a module in my directory
by Perlbotics (Archbishop) on Oct 28, 2008 at 22:02 UTC

    Hi, maybe this tutorial can be used as a starter? It describes module installation for non-root users. See also: use lib.

    Update: Link updated to avoid problems due to cookie authentication...

Re: How 2 install a module in my directory
by JadeNB (Chaplain) on Oct 28, 2008 at 22:00 UTC
    Yes, just pass an "INSTALL_BASE=/path/to/dir" parameter when you run perl Makefile.PL. See, for example, personal cpan install config and the links there.

    P.S. Really, “How 2 install a module”?

      P.S. Really, “How 2 install a module”?

      Hmm, it must be some kind of complex encryption used by only the best crackers around the world. You know the OP means business if he can reverse their algorithm and then use it himself! Either that or it's some sort of leetspeak/Web 2.0 thing. I can hardly keep up with the hoodlums these days~

      I'm so adjective, I verb nouns!

      chomp; # nom nom nom