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.