put_ok is broken : accoding to documentation, put_ok should accept
similar options as WWW::Mechanize's put, but as a hash reference.
So the following should succeed :
$mech->put_ok( $url, { content => 'foo' }, $description);
But the content is not sent in the request.
Indeed in Test::WWW::Mechanize, line 366 :
$self->put( $url, \%opts );
should be :
$self->put( $url, %opts );
( According to WW::Mechanize, the syntaxe is :
$mech->put( $uri, content => $content );