Help for this page

Select Code to Download


  1. or download this
    use WWW::Mechanize::Firefox;
    use File::Temp qw/ :seekable /;
    ...
    my %attr = (':content_file' => $temp_p->dirname . '.html', no_cache =>
    + 1);
    $res = $mech->get($url, %attr);
    
  2. or download this
     $mech->content
     '<html><head></head><body>WWW::Mechanize::Firefox</body></html>'
    
  3. or download this
     <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://ww
    +w.w3.org/TR/html4/frameset.dtd">
     <html><head><meta http-equiv="Content-Type" content="text/html; chars
    +et=utf-8">
     <title>Some Technology</title></head>(.v.)<noframes><body></body></no
    +frames></html>