in reply to AnyEvent::HTTP not sending ContentLength ?
%headerArray gets expanded out in this list context, resulting in:
which is bad syntax.http_request "PUT" => $url, headers=> "Content-Length"=>2345, body=>$content, sub {do stuff here};
Don't have time to research the right syntax now...
This is not an optical illusion, it just looks like one.
|
---|
In Section
Seekers of Perl Wisdom