Undefined subroutine error using WWW::Curl::Form in Perl?

For the doc the method curl_formaddfile is listed in the Compatibility section ( Seems to be working ). Maybe you have a newer module so you should use the method formaddfile instead See below an example from the doc: use WWW::Curl::Form; my $curlf = WWW::Curl::Form->new; $curlf->formaddfile($filename, 'attachment', "multipart/form-data"); $curlf->formadd("FIELDNAME", "VALUE"); $curl->setopt(CURLOPT_HTTPPOST, $curlf).

For the doc, the method curl_formaddfile is listed in the Compatibility section (Seems to be working. ). Maybe you have a newer module so you should use the method formaddfile instead See below an example from the doc: use WWW::Curl::Form; my $curlf = WWW::Curl::Form->new; $curlf->formaddfile($filename, 'attachment', "multipart/form-data"); $curlf->formadd("FIELDNAME", "VALUE"); $curl->setopt(CURLOPT_HTTPPOST, $curlf).

The problem is my script is totally like that. I do not understand much of PERL, but I checked it from every side and cpould not find the problem. My code continues just like in your example.

I updated my post so you could see it`s the same. – Treat Jan 10 at 14:08 You are not using the formaddfile method. Change from curl_formaddfile to formaddfile – ccheneson Jan 10 at 14:12 perfect your the best :D – Treat Jan 10 at 14:15 If it fixes your problem, please accept this post as the answer of your question - Thanks – ccheneson Jan 10 at 14:16.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions