What is the request supposed to look like? Is it form data or some custom type? I don't see any field names. Let LWP construct the multipart/form-data body and read the file.
my $req = POST($url, Content_Type => 'form-data',
Content => [ name => 'value',
file => [ $filename ] ]);