Help for this page

Select Code to Download


  1. or download this
      my @inputs = $mech->find_all_inputs(
            type       => 'image',
            name_regex => qr/$pattern1/,
    ...
        $mech->back(); #returning to original page.
    }
    
  2. or download this
    <a title="Next Page" href="javascript:__doPostBack(&#39;ctl00$ContentB
    +ody$CtrlNotice$grdItems$ctl00$ctl03$ctl01$ctl26&#39;,&#39;&#39;)"><im
    +g title="Next Page" class="image2" src="/Images/Icons/next_16.gif" al
    +t="Next Page" style="border-width:0px;" /></a>
    
  3. or download this
     
     my $resp = $mech->response();
     my $root = HTML::TreeBuilder->new_from_content( $resp->content );
    ...
            my $content = $response->content;
            print $content;
    # I wanted to see if I got the proper html content
    
  4. or download this
     my $content = $mech->get($aspnet->httpRequest->as_string);
            print $content;