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