in reply to Re^4: PUT a Multipart request in PERL
in thread PUT a Multipart request in PERL
I am getting Error: Not a SCALAR reference at C:/Dwimperl/perl/vendor/lib/HTTP/Message.pm line 156. I am using WWW::Mechanize as mentioned by you, even then same error. Please, guide how to get rid of this error.
Ok, I'll quote Re: PUT a Multipart request in PERL this time with more emphasis
https://metacpan.org/pod/HTTP::Request::Common#PUT-url says its like https://metacpan.org/pod/HTTP::Request::Common#GET-url and not like https://metacpan.org/pod/HTTP::Request::Common#POST-url meaning you have create a POST request and then alter it
Do you now know what to do next (create POST request and change it into a PUT)?
|
---|
In Section
Seekers of Perl Wisdom