in reply to multipart/form-data content problem

You are trying to use an arrayref as the content for an HTTP POST. The content should be a single, properly formatted string. You are presumably expecting HTTP::Request to convert that arrayref into a string. It will not. It does not have that feature.

HTTP::Request::Common does have that feature though.

perl -E'sub Monkey::do{say$_,for@_,do{($monkey=[caller(0)]->[3])=~s{::}{ }and$monkey}}"Monkey say"->Monkey::do'
  • Comment on Re: multipart/form-data content problem