in reply to Issue while forwarding data using LWP POST to another url

my $req = HTTP::Request->new("POST", $url, $req_headers, $readData)
Uhm, $url is an undeclared variable, there's no semi-colon separating this statement from the next, and $readData is a code ref, and not a string of bytes.