On launching CPAN i get the following error:

//----------------------------------------------------------------------------

user@austria:~$ sudo cpan Sorry, we have to rerun the configuration dialog for CPAN.pm due to so +me missing parameters. Configuration will be written to <</home/lampuser/.cpan/CPAN/MyConfig.pm>> CPAN.pm requires configuration, but most of it can be done automatical +ly. If you answer 'no' below, you will enter an interactive dialog for eac +h configuration option instead. Would you like to configure as much as possible automatically? [yes] Autoconfigured everything but 'urllist'. Now you need to choose your CPAN mirror sites. You can let me pick mi +rrors for you, you can select them from a list or you can enter them +by hand. Would you like me to automatically choose some CPAN mirror sites for y +ou? (This means connecting to the Internet) [yes] Looking for CPAN mirrors near you (please be patient) Can't call method "http" on unblessed reference at /usr/share/perl/5.1 +8/CPAN/FirstTime.pm line 1868.

//----------------------------------------------------------------------------



System details:

user@austria:~$ perl -V Summary of my perl5 (revision 5 version 18 subversion 2) configuration +: Platform: osname=linux, osvers=3.2.0-58-generic, archname=x86_64-linux-gnu-t +hread-multi uname='linux brownie 3.2.0-58-generic #88-ubuntu smp tue dec 3 17: +37:58 utc 2013 x86_64 x86_64 x86_64 gnulinux ' user@austria:~$ uname -a Linux austria 3.13.0-24-generic #47-Ubuntu SMP Fri May 2 23:30:00 UTC +2014 x86_64 x86_64 x86_64 GNU/Linux

//----------------------------------------------------------------------------


In reply to CPAN error on first run by perabora

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.