Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: LWP::Simple and redirects

by shotgunefx (Parson)
on Feb 26, 2002 at 09:46 UTC ( [id://147515]=note: print w/replies, xml ) Need Help??


in reply to LWP::Simple and redirects

LWP::Simple does indeed do redirects. (Not javascript redirects though!)

use LWP::Debug qw(+conns); # This will tell you what's going on.

One bug that has come up in LWP::Simple is on some machines, it just mysteriously fails. Try prepending a space to the url.
get " http://yahoo.com;"
Stops it from using _trivial_get internally which is the source of the bug.

-Lee

"To be civilized is to deny one's nature."

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://147515]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (3)
As of 2024-04-26 02:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found