Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
#! /usr/bin/perl use strict; use warnings; use LWP; my $browser = LWP::UserAgent->new; my $url = 'http://www.gulfgreyhound.com/officialracingresults.asp'; my $response = $browser->post( $url, [ "subfolder" => "dec03", ] ); die "$url error: ", $response->status_line unless $response->is_success; die "Weird content type at $url -- ", $response->content_type unless $response->content_type eq 'text/html'; print $response->content;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: posting to a form to get results
by Roger (Parson) on Dec 24, 2003 at 22:39 UTC | |
by Anonymous Monk on Dec 24, 2003 at 23:07 UTC | |
by ysth (Canon) on Dec 24, 2003 at 22:49 UTC | |
|
Re: posting to a form to get results
by b10m (Vicar) on Dec 24, 2003 at 23:06 UTC | |
by jeffa (Bishop) on Dec 25, 2003 at 00:51 UTC | |
|
Re: posting to a form to get results
by ysth (Canon) on Dec 24, 2003 at 22:37 UTC | |
|
Re: posting to a form to get results
by Anonymous Monk on Dec 24, 2003 at 22:53 UTC |