in reply to Setting HTTP:Headers using HTTP::Request::Common
It has an example that appears to do exactly what you want:% perldoc HTTP::Request::Common
POST 'http://www.perl.org/survey.cgi', Content_Type => 'form-data', Content => [ name => 'Gisle Aas', email => 'gisle@aas.no', gender => 'M', born => '1964', init => ["$ENV{HOME}/.profile"], ]
-Blake
|
|---|