title: CPAN error message
body: <p>I was trying to use my CPAN, but when I typed in the following command. The errors occurred. A similar question was asked in this forum(<a href="https://stackoverflow.com/questions/15993107/install-cpan-module">install CPAN module</a>), I tried that solution, but it did not work for me. I am wondering if anyone can drop a hint?</p>
  
  <pre><code>perl -MCPAN -e shell
  </code></pre>
  
  <blockquote>
    <p>Your configuration suggests that CPAN.pm should use a working
    directory of<br/>
        /home/bq/.cpan<br/> Unfortunately we could not create the lock file<br/>
        /home/bq/.cpan/.lock<br/> due to 'Permission denied'.<br/></p>
    
    <p>Please make sure that the configuration variable<br/>
        $CPAN::Config->{cpan_home}<br/> points to a directory where you can write a .lock file. You can set this variable in either a
    CPAN/MyConfig.pm or a CPAN/Config.pm in your @INC path;</p>
  </blockquote>