Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Properly using HTTP::Request

Status
Not open for further replies.

kar202

Programmer
Jun 28, 2002
16
US
I am creating an automated statistics report for my website. The stats are from LiveStats 5.0 (from DeepMetrix). The links within are dynamic and created on-the-fly even if you are browsing old statistics. Therefore I plan on retrieving a URL, parsing the HTML, and then submitting the link I want. (Hope that made sense...)

I am using the following code to retrieve the URL, which I found in the ActiveState documentation:

$request = HTTP::Request->new(GET => '
I am not yet into how to submit or parse, right now I am just trying to get the contents of the URL stored in $request. So far this bit of code has not done me much good, I get errors when I run it*. I realize I am not very far along and am asking for a lot of help and I appreciate all responses. Thanks.

*Sorry I can't provide the errors at this moment.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top