Hello All,
I am trying to use the module HTTP::Request. I tried to use the code given in
perldoc HTTP::Request
Here is my code
==
#!/usr/bin/perl -w
use strict;
require HTTP::Request;
require LWP::UserAgent;
my ($request,$response,$ua);
$ua = LWP::UserAgent-new;
$request =
Hello All,
I am trying to use the module HTTP::Request. I tried to use the code
given in
perldoc HTTP::Request
Here is my code
==
#!/usr/bin/perl -w
use strict;
require HTTP::Request;
require LWP::UserAgent;
my ($request,$response,$ua);
$ua = LWP::UserAgent-new;
$request
Ranish wrote:
But the output of the code is
perl aprequest.pl
HTTP::Response=HASH(0x81e8a84)
How can I make this human readable.
print $response-as_string;
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/