On Thu, Aug 18, 2011 at 11:03 AM, Deepak Bhatia <deepak.bhatia@nechclst.in> wrote:
Hi Tomas,
Please find the error message below
$sudo cpan HTTP::OAI Locale::Currency::Format Memoize::Memcached \
PDF::API2::Simple Storable Text::CSV::Encoded MARC::Crosswalk::DublinCore \ GD::Barcode::UPCE HTML::Scrubber Email::Date YAML PDF::Reuse \ PDF::Reuse::Barcode Test::More Test::Simple Business::ISBN \ CGI::Session::Driver::memcached CPAN: Storable loaded ok (v2.20) CPAN: LWP::UserAgent loaded ok (v5.835) CPAN: Time::HiRes loaded ok (v1.9719) ... Connecting to www.perl.org|207.171.7.41|:80... failed: Connection refused.
^^^^^^^^^^^^^^^^^^^^^^ Exactly, it looks like you can't reach perl servers. And is not a cpan command problem. If you still have this issue (problem looks solved from Argentina at least) try using a different mirror, that can be set in the file /etc/perl/CPAN/Config.pm Mirrors can be found here: http://search.cpan.org/mirror Regards To+