: Folks, how do I load extra modules? I got Date::Manip today, and I know I
: should be putting it in the search-path of perl (@INC ?), but how do I do
: it? Can I get a small code snippet?
:
: I do not have su privileges on the machine I work, and would like the
: search-path to have my modules dir, $HOME/perlmodules in it.
Try this (as you):
perl Makefile.PL PREFIX=$HOME/perlmodules
make
make test
make install
Then in your script:
use lib '$HOME/perlmodules'; # replace $HOME with the location of your directory
-- tdk