Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: How to get real address with LWP and redirects?

by ikegami (Pope)
on Sep 11, 2007 at 13:35 UTC ( #638297=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $response = $ua->...;
    print($response->request()->uri(), "\n");
    
  2. or download this
    my $response = $ua->...;
    while ($response) {
       print($response->request()->uri(), "\n");
       $response = $response->previous();
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (6)
As of 2017-03-29 22:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (353 votes). Check out past polls.