title: cpanm perl modules installed to user directory
body: <p>I'm new to Perl and am trying to install the Net::SFTP module by running</p>
  
  <pre><code>cpanm Net::SFTP
  </code></pre>
  
  <p>I tried the install and after 5-10 minutes it failed with the following</p>
  
  <pre><code>! Configure failed for Math-GMP-2.06. See /Users/applemacbookpro/.cpanm/build.log for details.
  ! Bailing out the installation for Net-SSH-Perl-1.34. Retry with --prompt or --force.
  ! Bailing out the installation for Net-SFTP-0.10. Retry with --prompt or --force.
  19 distributions installed
  </code></pre>
  
  <p>But, when I tried the install again, I noticed this message:</p>
  
  <pre><code>Can't write to /opt/local/lib/perl5/site_perl/5.12.3 and /opt/local/bin: Installing modules to /Users/applemacbookpro/perl5
  </code></pre>
  
  <p>So, now I have a bunch of modules installed in the <code>~/perl5</code> directory - am I going to run into problems if I then install using sudo and my perl modules are located in two separate directories?</p>