in reply to Re^2: self containing folder of modules
in thread self containing folder of modules

For quick and easy module installation, also see the -L option to cpanm.

Replies are listed 'Best First'.
Re^4: self containing folder of modules
by micceo (Initiate) on Sep 20, 2011 at 10:12 UTC
    yes , i had mentioned perl Makefile.PL --bootstrap=~/mylib
Re^4: self containing folder of modules
by micceo (Initiate) on Sep 20, 2011 at 10:05 UTC

    got the local:: lib module installed . i created a dir called mylib in home/ravi

    now i need to add this line to .bashrc
    eval $(perl -I$HOME/mylib/lib/perl5 -Mlocal::lib)
    however the installation of modules is happening in /home/ravi/perl5

      however the installation of modules is happening in /home/ravi/perl5

      Yes, and?

      Did you read the first 10 lines of local::lib documentation?

      use local::lib; # sets up a local lib at ~/perl5 use local::lib '~/foo'; # same, but ~/foo