Mon Nov 09 09:25:23 2009kevin [...] lokku.com - Ticket created
Subject:
bug in WebService::YQL
Date:
Mon, 09 Nov 2009 14:24:58 +0000
To:
bug-WebService-YQL [...] rt.cpan.org
From:
Kevin <kevin [...] lokku.com>
This module uses JSON::Any and tries to create a JSON object directly
without creating a JSON::Any object.
A quick fix for users is to do :
use WebService::YQL;
use JSON;
and a quick patch would be to replace line 63 :
$self->{'_json'} = JSON->new;
by :
$self->{'_json'} = JSON::Any->new;
Thanks to the real patch, we can use JSON::XS instead of the mere JSON.
--
Kevin Keraudren
Mon Nov 09 12:46:13 2009viorels [...] gmail.com - Correspondence added30 min
I've included the suggested patch in version 0.03.
Thanks for the feedback.
--
Viorel Stirbu
On Mon Nov 09 09:25:23 2009, kevin@lokku.com wrote:
Show quoted text
>
> and a quick patch would be to replace line 63 :
> $self->{'_json'} = JSON->new;
> by :
> $self->{'_json'} = JSON::Any->new;
>
Mon Nov 09 12:46:14 2009The RT System itself - Status changed from 'new' to 'open'
Mon Nov 09 12:46:15 2009viorels [...] gmail.com - Status changed from 'open' to 'patched'
Mon Nov 09 12:46:34 2009viorels [...] gmail.com - Taken
Mon Nov 09 12:47:03 2009viorels [...] gmail.com - Correspondence added
Resolved.
Mon Nov 09 12:47:03 2009The RT System itself - Status changed from 'patched' to 'open'
Mon Nov 09 12:47:04 2009viorels [...] gmail.com - Status changed from 'open' to 'resolved'