On 10-10-31 07:52 AM, Jatin wrote:
1. From the module's documentation i can understand that the return
value of the head() method in a scalar context is TRUE , but what does
the value returned by the server which is HTTP::Response=HASH(0x861cd00)
signify ?
It is a hash reference. See `perldoc
Hi All
I had the following code to test what the head() method of the
LWP::Simple module returns.
#!/usr/bin/perl
use warnings;
use strict;
use LWP::Simple;
my $url = 'http://oreilly.com/store/complete.html';
#my $url = 'http://www.garimela.com/complete.html';
my $testvar = head($url);
print