Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Fetching URL

by Shaveta_Chawla (Acolyte)
on Oct 03, 2011 at 09:32 UTC ( #929298=perlquestion: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my @forms = HTML::Form->parse($res);
    @forms = grep{$_->attr('name') eq 'adv_search_form'} @forms;
    my $form = shift @forms;
    
     my $req = $form->make_request;
    
  2. or download this
    my $referer = $res->request->uri;
    my $uri = $res->request->uri;
    ...
    $headers->header(referer => $referer);
    my $req = HTTP::Request->new('GET', $url2, $headers);
    return $req;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://929298]
Approved by GrandFather
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (13)
As of 2014-10-24 10:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (131 votes), past polls