title: How can I install a CPAN module into a local directory?
body: <p>I'm using a hosted Linux machine so I don't have permissions to write
  into the <code>/usr/lib</code> directory.</p>
  
  <p>When I try to install a CPAN module by doing the usual:</p>
  
  <pre><code>perl Makefile.PL
  make test
  make install
  </code></pre>
  
  <p>That module is extracted to a <code>blib/lib/</code> folder. I have kept <code>use
  blib/lib/ModuleName</code> but it still the compiler says module can not be
  found. I have tried copying the .pm file into local directory and kept
  <code>require ModuleName</code> but still it gives me some error.</p>
  
  <p>How can I install a module into some other directory and use it?</p>