in reply to Can't locate JSON.pm in @INC

look at the log, turn on verbosity  cpanm -v JSON , check which cpanm you're calling and which perl its calling (shebang)