Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the JSON-Pointer CPAN distribution.

Report information
The Basics
Id: 89773
Status: open
Priority: 0/
Queue: JSON-Pointer

People
Owner: Nobody in particular
Requestors: daxim [...] cpan.org
Cc:
AdminCc:

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



Subject: JSON::XS::Boolean values cannot be cloned by Data::Clone
use JSON::XS qw(); use JSON::Pointer qw(); JSON::Pointer->add(JSON::XS::decode_json('{"t":true}'), '/foo', 'bar'); The program will abort with the error message: Modification of a read-only value attempted at …/JSON/Pointer.pm line 93.
Thank you reporting. This problem is occured by JSON::PP too. I have just fixed it on master repos. On 2013-10月-25 金 09:24:11, DAXIM wrote: Show quoted text
> use JSON::XS qw(); > use JSON::Pointer qw(); > JSON::Pointer->add(JSON::XS::decode_json('{"t":true}'), '/foo', > 'bar'); > > The program will abort with the error message: > > Modification of a read-only value attempted at …/JSON/Pointer.pm line > 93.