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 perlref`.

2. Why am i getting a warning message in the line 3 of the output ?

Because its value is undef.

To see what's in your variables, `use Data::Dumper`.

use Data::Dumper;

print '$testvar ', Dumper $testvar;

print '@listvar ', Dumper \...@listvar;



--
Just my 0.00000002 million dollars worth,
  Shawn

Programming is as much about organization and communication
as it is about coding.

The secret to great software:  Fail early & often.

Eliminate software piracy:  use only FLOSS.

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to