The outputs for these two commands are as follows:
C:\Documents and Settings\HP-OVE-User>lwp-request -useUS -m head http: +//www.eser ve.com.sa Use of uninitialized value $scheme in hash element at C:/Program Files +/Perl/lib/ LWP/Protocol.pm line 53. Use of uninitialized value $scheme in pattern match (m//) at C:/Progra +m Files/Pe rl/lib/LWP/Protocol.pm line 56. Use of uninitialized value $scheme in concatenation (.) or string at C +:/Program Files/Perl/lib/LWP/Protocol.pm line 36. Use of uninitialized value $scheme in string eq at C:/Program Files/Pe +rl/lib/LWP /UserAgent.pm line 199. HEAD http://www.eserve.com.sa User-Agent: lwp-request/5.810 HEAD http://www.eserve.com.sa --> 501 Protocol scheme '' is not suppor +ted Content-Type: text/plain Client-Date: Wed, 02 Sep 2009 11:21:49 GMT Client-Warning: Internal response C:\Documents and Settings\HP-OVE-User>lwp-request -useUS -m get http:/ +/www.eserv e.com.sa Use of uninitialized value $scheme in hash element at C:/Program Files +/Perl/lib/ LWP/Protocol.pm line 53. Use of uninitialized value $scheme in pattern match (m//) at C:/Progra +m Files/Pe rl/lib/LWP/Protocol.pm line 56. Use of uninitialized value $scheme in concatenation (.) or string at C +:/Program Files/Perl/lib/LWP/Protocol.pm line 36. Use of uninitialized value $scheme in string eq at C:/Program Files/Pe +rl/lib/LWP /UserAgent.pm line 199. GET http://www.eserve.com.sa User-Agent: lwp-request/5.810 GET http://www.eserve.com.sa --> 501 Protocol scheme '' is not support +ed Content-Type: text/plain Client-Date: Wed, 02 Sep 2009 11:21:54 GMT Client-Warning: Internal response 501 Protocol scheme '' is not supported

As for LWP, I presently have version 5.814

I've tried upgrading using cpan, but since its already a network issue I'm troubleshooting, I get stuck ... it says I have the latest version, probably because it couldn't connect

cpan> install Bundle::LWP Fetching with LWP: http://ppm.activestate.com/CPAN/authors/01mailrc.txt.gz Use of uninitialized value $scheme in hash element at C:\Program Files +\Perl\lib/ LWP/Protocol.pm line 53. Use of uninitialized value $scheme in pattern match (m//) at C:\Progra +m Files\Pe rl\lib/LWP/Protocol.pm line 56. Use of uninitialized value $scheme in concatenation (.) or string at C +:\Program Files\Perl\lib/LWP/Protocol.pm line 36. Use of uninitialized value $scheme in string eq at C:\Program Files\Pe +rl\lib/LWP /UserAgent.pm line 199. LWP failed with code[501] message[Protocol scheme '' is not supported] Fetching with LWP: http://cpan.perl.org/authors/01mailrc.txt.gz Use of uninitialized value $scheme in hash element at C:\Program Files +\Perl\lib/ LWP/Protocol.pm line 53. Use of uninitialized value $scheme in pattern match (m//) at C:\Progra +m Files\Pe rl\lib/LWP/Protocol.pm line 56. Use of uninitialized value $scheme in concatenation (.) or string at C +:\Program Files\Perl\lib/LWP/Protocol.pm line 36. Use of uninitialized value $scheme in string eq at C:\Program Files\Pe +rl\lib/LWP /UserAgent.pm line 199. LWP failed with code[501] message[Protocol scheme '' is not supported] No external ftp command available I would like to connect to one of the following sites to get 'authors/ +01mailrc.t xt.gz': http://www.perl.org/CPAN/ ftp://ftp.perl.org/pub/CPAN/ Is it OK to try to connect to the Internet? [yes] Fetching with LWP: http://www.perl.org/CPAN/authors/01mailrc.txt.gz Use of uninitialized value $scheme in hash element at C:\Program Files +\Perl\lib/ LWP/Protocol.pm line 53, <STDIN> line 1. Use of uninitialized value $scheme in pattern match (m//) at C:\Progra +m Files\Pe rl\lib/LWP/Protocol.pm line 56, <STDIN> line 1. Use of uninitialized value $scheme in concatenation (.) or string at C +:\Program Files\Perl\lib/LWP/Protocol.pm line 36, <STDIN> line 1. Use of uninitialized value $scheme in string eq at C:\Program Files\Pe +rl\lib/LWP /UserAgent.pm line 199, <STDIN> line 1. LWP failed with code[501] message[Protocol scheme '' is not supported] Fetching with LWP: ftp://ftp.perl.org/pub/CPAN/authors/01mailrc.txt.gz LWP failed with code[500] message[LWP::Protocol::MyFTP: connect: timeo +ut] Fetching with Net::FTP: ftp://ftp.perl.org/pub/CPAN/authors/01mailrc.txt.gz Could not connect to host 'ftp.perl.org' with Net::FTP Fetching with Net::FTP ftp://ftp.perl.org/pub/CPAN/authors/01mailrc.txt.gz.gz Could not connect to host 'ftp.perl.org' with Net::FTP No external ftp command available Please check, if the URLs I found in your configuration file (http://ppm.activestate.com/CPAN, http://cpan.perl.org) are valid. The urllist can be edited. E.g. with 'o conf urllist push ftp://myurl/' Could not fetch authors/01mailrc.txt.gz Fetching with LWP: http://ppm.activestate.com/CPAN/modules/02packages.details.txt.gz Use of uninitialized value $scheme in hash element at C:\Program Files +\Perl\lib/ LWP/Protocol.pm line 53. Use of uninitialized value $scheme in pattern match (m//) at C:\Progra +m Files\Pe rl\lib/LWP/Protocol.pm line 56. Use of uninitialized value $scheme in concatenation (.) or string at C +:\Program Files\Perl\lib/LWP/Protocol.pm line 36. Use of uninitialized value $scheme in string eq at C:\Program Files\Pe +rl\lib/LWP /UserAgent.pm line 199. LWP failed with code[501] message[Protocol scheme '' is not supported] Fetching with LWP: http://cpan.perl.org/modules/02packages.details.txt.gz Use of uninitialized value $scheme in hash element at C:\Program Files +\Perl\lib/ LWP/Protocol.pm line 53. Use of uninitialized value $scheme in pattern match (m//) at C:\Progra +m Files\Pe rl\lib/LWP/Protocol.pm line 56. Use of uninitialized value $scheme in concatenation (.) or string at C +:\Program Files\Perl\lib/LWP/Protocol.pm line 36. Use of uninitialized value $scheme in string eq at C:\Program Files\Pe +rl\lib/LWP /UserAgent.pm line 199. LWP failed with code[501] message[Protocol scheme '' is not supported] No external ftp command available Fetching with LWP: http://www.perl.org/CPAN/modules/02packages.details.txt.gz Use of uninitialized value $scheme in hash element at C:\Program Files +\Perl\lib/ LWP/Protocol.pm line 53. Use of uninitialized value $scheme in pattern match (m//) at C:\Progra +m Files\Pe rl\lib/LWP/Protocol.pm line 56. Use of uninitialized value $scheme in concatenation (.) or string at C +:\Program Files\Perl\lib/LWP/Protocol.pm line 36. Use of uninitialized value $scheme in string eq at C:\Program Files\Pe +rl\lib/LWP /UserAgent.pm line 199. LWP failed with code[501] message[Protocol scheme '' is not supported] Fetching with LWP: ftp://ftp.perl.org/pub/CPAN/modules/02packages.details.txt.gz LWP failed with code[500] message[LWP::Protocol::MyFTP: connect: timeo +ut] Fetching with Net::FTP: ftp://ftp.perl.org/pub/CPAN/modules/02packages.details.txt.gz Could not connect to host 'ftp.perl.org' with Net::FTP Fetching with Net::FTP ftp://ftp.perl.org/pub/CPAN/modules/02packages.details.txt.gz.gz Could not connect to host 'ftp.perl.org' with Net::FTP No external ftp command available Please check, if the URLs I found in your configuration file (http://ppm.activestate.com/CPAN, http://cpan.perl.org) are valid. The urllist can be edited. E.g. with 'o conf urllist push ftp://myurl/' Could not fetch modules/02packages.details.txt.gz Fetching with LWP: http://ppm.activestate.com/CPAN/modules/03modlist.data.gz Use of uninitialized value $scheme in hash element at C:\Program Files +\Perl\lib/ LWP/Protocol.pm line 53. Use of uninitialized value $scheme in pattern match (m//) at C:\Progra +m Files\Pe rl\lib/LWP/Protocol.pm line 56. Use of uninitialized value $scheme in concatenation (.) or string at C +:\Program Files\Perl\lib/LWP/Protocol.pm line 36. Use of uninitialized value $scheme in string eq at C:\Program Files\Pe +rl\lib/LWP /UserAgent.pm line 199. LWP failed with code[501] message[Protocol scheme '' is not supported] Fetching with LWP: http://cpan.perl.org/modules/03modlist.data.gz Use of uninitialized value $scheme in hash element at C:\Program Files +\Perl\lib/ LWP/Protocol.pm line 53. Use of uninitialized value $scheme in pattern match (m//) at C:\Progra +m Files\Pe rl\lib/LWP/Protocol.pm line 56. Use of uninitialized value $scheme in concatenation (.) or string at C +:\Program Files\Perl\lib/LWP/Protocol.pm line 36. Use of uninitialized value $scheme in string eq at C:\Program Files\Pe +rl\lib/LWP /UserAgent.pm line 199. LWP failed with code[501] message[Protocol scheme '' is not supported] No external ftp command available Fetching with LWP: http://www.perl.org/CPAN/modules/03modlist.data.gz Use of uninitialized value $scheme in hash element at C:\Program Files +\Perl\lib/ LWP/Protocol.pm line 53. Use of uninitialized value $scheme in pattern match (m//) at C:\Progra +m Files\Pe rl\lib/LWP/Protocol.pm line 56. Use of uninitialized value $scheme in concatenation (.) or string at C +:\Program Files\Perl\lib/LWP/Protocol.pm line 36. Use of uninitialized value $scheme in string eq at C:\Program Files\Pe +rl\lib/LWP /UserAgent.pm line 199. LWP failed with code[501] message[Protocol scheme '' is not supported] Fetching with LWP: ftp://ftp.perl.org/pub/CPAN/modules/03modlist.data.gz LWP failed with code[500] message[LWP::Protocol::MyFTP: connect: timeo +ut] Fetching with Net::FTP: ftp://ftp.perl.org/pub/CPAN/modules/03modlist.data.gz Could not connect to host 'ftp.perl.org' with Net::FTP Fetching with Net::FTP ftp://ftp.perl.org/pub/CPAN/modules/03modlist.data.gz.gz Could not connect to host 'ftp.perl.org' with Net::FTP No external ftp command available Please check, if the URLs I found in your configuration file (http://ppm.activestate.com/CPAN, http://cpan.perl.org) are valid. The urllist can be edited. E.g. with 'o conf urllist push ftp://myurl/' Could not fetch modules/03modlist.data.gz Going to write C:\Program Files\Perl\cpan\Metadata MIME::Base64 is up to date (3.07_01). Digest::MD5 is up to date (2.36_01). URI is up to date (1.37). Net::FTP is up to date (2.77). HTML::Tagset is up to date (3.20). HTML::Parser is up to date (3.56). HTML::HeadParser is up to date (2.22). LWP is up to date (5.814).

Is there a clearcut manual way to install it including all the prerequisistes. I mean, where can I download a newer version from, I seem to have found only the present versionn in my searched


In reply to Re^8: LWP - 500 Internal Error by oalvi
in thread LWP - 500 Internal Error by oalvi

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.