ProgramIT has asked for the wisdom of the Perl Monks concerning the following question:
#!/usr/bin/perl -w use strict; use LWP::UserAgent; use HTTP::Request::Common qw(POST); my $browser = LWP::UserAgent->new; my $resp = (POST 'www . wheresmycellphone . com/', ['txtisdcode' => 1, + txtcitycode' => '000', 'txtphone' => '0000000']); my $response_to_discard = $browser->request($resp); print $response_to_discard;
It runs without errors but I expect to receive a call on my cell phone which I never do. Any ideas on what I'm doing wrong?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Perl LWP and POST
by almut (Canon) on May 31, 2009 at 02:55 UTC | |
by ProgramIT (Novice) on May 31, 2009 at 14:59 UTC | |
by almut (Canon) on May 31, 2009 at 15:31 UTC | |
by ProgramIT (Novice) on May 31, 2009 at 18:14 UTC | |
|
Re: Perl LWP and POST
by atcroft (Abbot) on May 31, 2009 at 02:49 UTC |