Help for this page

Select Code to Download


  1. or download this
    
    # The URL itself is queried from the database above here,
    ...
            end_div(),
    }
    $sth->finish;
    
  2. or download this
       sub fetch_url {
            my $url_uri = shift;
    
    ...
            # Content itself is in $response->content; here.
            return $response->content;
       }
    
  3. or download this
       open(CONTENT, ">content.$$") or die $!
       print CONTENT $response->content;
       close CONTENT;