lmocsi has asked for the wisdom of the Perl Monks concerning the following question:
The below code produces an error on Windows 7 Pro, it reads 5-8K bytes of the web page, then terminates:
The error is:use strict; use LWP::UserAgent; my $url = 'https://www.flickr.com/photos/71475421@N02/26176178323/'; my $ua = LWP::UserAgent->new; my $res = $ua->get($url); print $res->headers->as_string;
Any ideas why is it not working, and how it can be fixed?
Thanks.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: “Non-blocking socket operation” error in LWP::UserAgent package
by VinsWorldcom (Prior) on May 03, 2016 at 00:23 UTC | |
by lmocsi (Novice) on May 03, 2016 at 09:30 UTC | |
by hippo (Archbishop) on May 03, 2016 at 10:19 UTC | |
|
Re: “Non-blocking socket operation” error in LWP::UserAgent package
by Anonymous Monk on May 03, 2016 at 00:13 UTC | |
by lmocsi (Novice) on May 03, 2016 at 09:27 UTC | |
by Anonymous Monk on May 03, 2016 at 09:53 UTC | |
by lmocsi (Novice) on May 04, 2016 at 18:18 UTC |