Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
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 lurking in the Monastery: (10)
As of 2014-08-21 20:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (143 votes), past polls