Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

Re^3: problem with getting web source

by Corion (Pope)
on Mar 24, 2013 at 17:18 UTC ( #1025166=note: print w/replies, xml ) Need Help??

in reply to Re^2: problem with getting web source
in thread problem with getting web source

Just because it works for me, from my browser, does not mean that it will work for you, from your browser.

I suggest you now use LWP::UserAgent to do the URL downloading. That way, you get more detailed error information instead of just a pass/fail status.

Replies are listed 'Best First'.
Re^4: problem with getting web source
by WojciechGajewski (Initiate) on Mar 24, 2013 at 17:26 UTC
    Exactly! I had to use some useragent. the default get method apparently doesnt use any and hence I couldnt download the source! Thanks! Problem solved!

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1025166]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (3)
As of 2018-07-23 06:29 GMT
Find Nodes?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?

    Results (459 votes). Check out past polls.