When I install stuff locally (not as root) with CPAN, it ends up putting things in a multitude of places. So much so, that I have to set PERL5LIB to five directories!
Here's the CPAN settings where I tell it where to install to:
'makepl_arg' => q[PREFIX=/home/user],
'mbuildpl_arg' => q[--install_base /home/user],
Here's what I have to set PERL5LIB to:
/home/user/lib/perl:/home/user/lib/perl5:/home/user/lib/perl/5.10:/home/user/share/perl:/home/user/share/perl/5.10
There must be a cleaner way... I could symlink them all to the same place, but that just seems wrong.
This is on a debian lenny system running perl from debian squeeze.