in reply to Very confused about system perl and local perl

"Question 1: Am i right in saying that if I use apt-get it will install modules for use with the system perl and not my local perl? If i want to install modules for local perl I need to use CPAN. This is what I have been doing"

Correct. Say you installed perl to $HOME/localperl you'd use $HOME/localperl/bin/cpan to install modules for the version of perl you installed rather than the system perl. What problems have you experienced with this?

Update: Also, you may find registering an account here easier to keep on top of your posts.

Update 2: answer the second question.

"The second option as mentioned was to use the system perl but to have all of my libraries in a separate location. The problem I am having here is that I don't know how to configure where apt-get installs a perl module to. Question 2: How do you configure where apt-get installs perl modules?"

If you install using apg-get to install perl modules you're altering the system perl, as discussed yesterday. This is what you want to avoid either by building your own perl as described yesterday (which you've done in Q1) or consult the CPAN documentation:

5) "I am not root, how can I install a module in a personal directory?"

Or see the other advice regarding lib and local::lib