http://www.perlmonks.org?node_id=1025162
WojciechGajewski has asked for the wisdom of the Perl Monks concerning the following question:

Hi! I want to get the source of the webpage based on given URL so I do it the following way:
#!/usr/bin/perl use LWP::Simple; $url = get 'http://www.DevDaily.com/';
But somehow it works fine for most of the pages, but for a few it does not work at all. An example would be the following address: http://www.gutenberg.org/files/10002/10002.txt Why cannot I get the source code? How can I modify my perl code to get the source? Is it something with changing ports? Thanks in advance, Wojciech.