in reply to perl.exe Makefile.PL fails to create makefile

Looks like you don't have JSON module installed, so try  cpan JSON or  cpanp -i JSON

OTOH, in general, to debug problems like this you would execute

cpan>look YAML $ nmake realclean $ perl Makefile.PL $ nmake test TEST_VERBOSE=1

Then copy / paste everything from perl Makefile.PL up to nmake test, this is the start of figuring it out

Reporting the output of  perl -V and of perl -MData::Dumper -e " print Dumper(\%ENV) " couldn't hurt either