Skip Menu |

This queue is for tickets about the JSON CPAN distribution.

Report information
The Basics
Id: 61279
Status: resolved
Priority: 0/
Queue: JSON

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

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



Subject: FYI: Devel::DProf doesn't like the XS loader trick in JSON.pm ~2.16
This oneliner will cause JSON ~2.16 to fail under Devel::DProf. $ perl -d:DProf -MJSON -e0 panic: Devel::DProf inconsistent subroutine return at /usr/local/share/perl/5.10.0/JSON.pm line 54. Compilation failed in require. BEGIN failed--compilation aborted. Not sure what changed or when but 2.22 doesn't exhibit this problem. Might want to add it to the docs and/or a DProf test that just does the above? Anyhow, it works now. Just thought you might like to know.
Thanks for the information. I think the problem was fixed in version 2.17. (From Changes) Show quoted text
>2.17 Thu Jan 7 12:23:13 2010 > [JSON] > - fixed a problem caused by JSON::XS backend and support_by_pp option > (rt#52842, rt#52847 by ikegami)
Thanks,