Help for this page

Select Code to Download


  1. or download this
    $app->{browser}->add_handler("response_done", sub { shift->dump; retur
    +n });
    
  2. or download this
    
    ->SUPER::new(
        tokens => \%tokens, 
        browser => WWW::Mechanize->new( autocheck => 0 ),
    )
    
  3. or download this
      my $response = eval { $app->view_restricted_resource ... };
      unless( $response ){
    ...
        $response = $app->res; # WWW::Mechanize cache it for you
      }
      print  $response->content;