Help for this page

Select Code to Download


  1. or download this
    package MyUserAgent;
    
    ...
      $request->uri($old_uri);
      $ret;
    }
    
  2. or download this
    my $m = MyUserAgent->new();
    
    ...
    }
    
    visit("bar:/index.html");
    
  3. or download this
    my $base = "ftp:/a/b";
    URI->new_abs("/c/d", $base)     -> "ftp:/c/d"
    ...
    URI->new_abs("../g", $base)     -> "ftp:/g"
    URI->new_abs("../../i", $base)  -> "ftp:/../i"
    URI->new_abs("../../j/k/l/../m", $base) -> "ftp:/../j/k/m"