Skip Menu |

This queue is for tickets about the JSON CPAN distribution.

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

People
Owner: Nobody in particular
Requestors: Ihor.J.Kinal [...] jpmorgan.com
Cc:
AdminCc:

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



I'm attempting to use JSON with the NYTProf profiler [perl script nytprofhtml]. I have the Any.pm file installed in a JSON dir, said dir is in my PERL5PATH. The install process complained Warning: prerequisite ExtUtils::MakeMaker 6.42 not found. We have 6.30. Warning: prerequisite JSON 2.02 not found. Warning: prerequisite JSON::XS 2.232 not found. But I was unable to config my system to ftp the necessary info I'd hope that the basic download would include everything. [here are the details of my failure]. The code in nytprofhtml is as follows: my $json_any = eval { require JSON::Any; JSON::Any->import; JSON::Any- Show quoted text
>new }
or warn "Can't load JSON::Any module - HTML visualizations skipped.\n"; After getting the warning, I added the following lines: use JSON::Any qw(XS); my $j = $JSON::Any->new; ======= Error; Couldn't find a JSON package. Need XS, JSON, or DWIW at nytprofhtml line 41 BEGIN failed--compilation aborted at nytprofhtml line 41ON::Any->new; ============= This is perl, v5.8.8 built for sun4-solaris
Sorry for late reply. But it has nothing to do with JSON (JSON::XS). You should report to JSON::Any author? Regards,