in reply to Using the HTTP::Request and Verifying Results

You need to write "Content_type" => '...' instead of Content-type. Update:
Perhaps you consider to write:
use HTTP::Request::Common; $req = POST 'http://www.receiver.com/hello.aspx', Host => 'www.receiver.com', Connection => 'Close', Content_type => 'application/x-www-form-urlencoded', Content => [ Data => $pData ];
or (looks more correct to me ) maybe
use HTTP::Request::Common; $req = POST 'http://www.receiver.com/hello.aspx', Host => 'www.receiver.com', Connection => 'Close', Content_type => 'application/x-www-form-urlencoded', Content => [ ID => 'Test', Len => $len, Data => $data ];
Boris