in reply to replacement for LWP::Simple ?
You can install additional modules in your home directory without writing anything to the perl directory.
Create a "perllib" directory in your home, grab and unpack the .tar.gz source of LWP and build it with:
If you want to use CPAN, you can use it by adding 'PREFIX=/home/yourhome/perllib LIB=/home/yourhome/perllib' when CPAN configurator ask you for additionnal parameters for Makefile.PLperl Makefile.PL PREFIX=$HOME/perllib LIB=$HOME/perllib make make install
So, now the module files should be in your "perllib" dir.perl -MCPAN -e 'install LWP'
And it should work ...export PERL5LIB=$PERL5LIB:$HOME/perllib
|
---|