Skip Menu |

This queue is for tickets about the WebService-YQL CPAN distribution.

Report information
The Basics
Id: 51233
Status: resolved
Worked: 30 min
Priority: 0/
Queue: WebService-YQL

People
Owner: viorels [...] gmail.com
Requestors: kevin [...] lokku.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



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
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; >
Resolved.