I'm having difficulty installing the JSON module (Perl version) on my Mac. Per the CPAN website's recommendations, I installed the "XCode" package and the "cpanminus" tool app before attempting to install the JSON module. I do not have the "local::lib" app installed.
Anyway, after downloading JSON::PP to my "Downloads" folder, I opened the README file, which simply says: To install this module type the following:
perl Makefile.PL
make
make test
make install
Type where? I suppose on the terminal command line? So I pasted "perl Makefile.PL" on the terminal command line and got: "Can't open perl script "Makefile.PL": No such file or directory jdm@Jeffs-iMac ~ %. Thinking that the pathway to the file was required, I then entered the following on the terminal command line: /Users/jdm/Downloads/JSON-PP-4.05/perl Makefile.PL". That also failed to run the "perl Makefile.PL" script, returning "zsh: no such file or directory: /Users/jdm/Downloads/JSON-PP-4.05/perl".
I'm just beginning to learn Perl, and this hurdle needn't be. There must be an easier, less frustrating way to install this JSON module. Please help. Thanks.