Hi List. I have an issue to submit to you:
When i loop through WWW::Mechanize->{res}->{_headers} like the following snippet: my $headers = $mech->{res}->{_headers}; while ( (my $key, my $value) = each (%$headers)) { print $key . ': ' . "$value\n";} } I get some values as an array: For instance the 'content-type' key, the 'links' key and the 'expires' key are seen as an array, with one or more values each (almost) identical. In example, i have 'content-type' key with two values: [0] = 'text/html;charset=iso-8859-1' and [1] = ' text/html;charset=iso-8859-1' Please note the space at the beginning of value [1]. How does it happens? It happens when i load a php self-referencing page for Tutos planner login, on other sites it behaves correctly (without any hash-of-array). Thank you all for helping, Andrea Setti.