I think this is the problem (in server response to your request):

HTTP/1.x 200 OK
Date: Sun, 06 Jul 2008 09:00:12 GMT
Server: Apache
X-Powered-By: PHP/5.2.5
Cache-Control: private, s-maxage=0, max-age=0, must-revalidate
Content-Language: en
Vary: Accept-Encoding,Cookie
X-Vary-Options: Accept-Encoding;list-contains=gzip,Cookie;string-contains=enwikiToken;string-contains=enwikiLoggedOut;string-contains=enwiki_session;string-contains=centralauth_Token;string-contains=centralauth_Session;string-contains=centralauth_LoggedOut
Last-Modified: Sat, 05 Jul 2008 05:40:32 GMT
Content-Encoding: gzip
Content-Length: 19469
Content-Type: text/html; charset=utf-8
Age: 53724
X-Cache: HIT from sq30.wikimedia.org, MISS from sq21.wikimedia.org, MISS from mail.irkutsk.2gis.ru
X-Cache-Lookup: HIT from sq30.wikimedia.org:3128, MISS from sq21.wikimedia.org:80, MISS from mail.irkutsk.2gis.ru:3128
Via: 1.0 sq30.wikimedia.org:3128 (squid/2.6.STABLE18), 1.0 sq21.wikimedia.org:80 (squid/2.6.STABLE18)
Proxy-Connection: keep-alive

As you can see it uses gziped response so you must have something which unzip it for you.


In reply to Re: LWP::Simple::get($url) does not work for some urls by Gangabass
in thread LWP::Simple::get($url) does not work for some urls by vit

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.