Subject: | Problem with JSON::Path::value |
Date: | Thu, 10 Oct 2013 14:42:28 +0200 |
To: | bug-Devel-ptkdb [...] rt.cpan.org |
From: | Henri-Damien LAURENT <henri-damien.laurent [...] fraudbuster.mobi> |
Hi,
thanks for that wonderful debugger.
It appears that there is a problem when used in conjonction with
JSON::Path::value as a getter.
test_jsonpath.pl :
use strict;
use warnings;
use JSON::Path;
my $object={"test"=>"me"};
my $jsonpath=JSON::Path->new('$.test');
my $a = $jsonpath->value($object);
perl test_jsonpath.pl
me
perl -d:ptkdb test_jsonpath.pl
JSON::Path::value is writeonly at /usr/share/perl5/Devel/ptkdb.pm line 4332.
Could you help in any way ?
--
Henri-Damien LAURENT
FraudBuster
Mail : henri-damien.laurent@fraudbuster.mobi
Mobile : +33 6 88 77 62 53
Skype : laurenthdl