Module::Starter and make dist
Earlier when I’d updated Fedora to Core 5 and now that I’ve gone to 6.10 in Ubuntu I ran into some problems building modules. Module::Starter would start them off just fine and I could “perl Makefile.pl”, “make”, “make test” but when I went to “make dist” there would be an error message saying:
-e: META.yml not found at -e line 1
Can’t read META.yml: No such directory
It appears that when you do a make dist in your original code directory it is reading the MANIFEST and looking for META.yml. Originally if it wasn’t there it would be created in the original code directory but now it considers it an error and bombs. One solution would be to code your own META.yml file but that seems like more work than I would like to do. If you remove META.yml from the MANIFEST file in your original code directory, then “make dist” will run just fine and build you a distribution package (tarball) with the proper META.yml and MANIFEST pointing to the newly generated META.yml file.