Help for this page

Select Code to Download


  1. or download this
    $fm->{ua}->add_handler("request_send",  sub { shift->dump; return });
    $fm->{ua}->add_handler("response_done", sub { shift->dump; return });
    
  2. or download this
    $fm->{ua}->add_handler("request_send",  \&pp_dump );
    $fm->{ua}->add_handler("response_done", \&pp_dump );
    ...
        print $_[0]->as_string,"\n";
        return;
    }