Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
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 romping around the Monastery: (6)
As of 2024-07-23 16:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.