All the library that i'm using:

use strict;
use MediaWiki::API;
use DateTime::Format::ISO8601;
use encoding 'utf8';

i tried to update the version of perl and LWP like the suggestions that i found in the internet but it doesn't work.
Hope someone can help me.

Thank.


On Sun, May 27, 2012 at 10:35 PM, Roan Kattouw <roan.kattouw@gmail.com> wrote:
On Sun, May 27, 2012 at 2:23 AM, nguyenkim thuat
<kimthuatnguyenensimagfr@gmail.com> wrote:
> And it generated an error:
>                                      HTTP::Message content must be bytes at
> /usr/share/perl5/HTTP/Request/Common.pm line 91
> I don't know how to correct it.
> Any suggestion?
>
This looks like a problem with the library that you're using (or you
using the library incorrectly), not a problem with the MediaWiki API
itself. That said, may be other people on this list who have used this
library before and can help you with it.

Roan

_______________________________________________
Mediawiki-api mailing list
Mediawiki-api@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api