Subject: | 'Build dist' dies horribly when an author can not be parsed from the pod |
If neither the build.pl or the 'relevant' pod (however that may be determined) yields a valid author string, Module::Build dies with this error message:
[kane@codebase2 /tmp/Foo-Bar]$ perl Build.PL
Checking whether your kit is complete...
Looks good
Creating new 'Build' script for 'Foo-Bar' version '0.01'
[kane@codebase2 /tmp/Foo-Bar]$ ./Build dist
Deleting META.yml
Couldn't load YAML.pm, generating a minimal META.yml without it.
Please check and edit the generated metadata, or consider installing YAML.pm.
Can't use an undefined value as an ARRAY reference at /usr/local/share/perl/5.8.4/Module/Build/Base.pm line 2177.
[kane@codebase2 /tmp/Foo-Bar]$ perl -MModule::Build -e'print $Module::Build::VERSION'
0.2607
You can reproduce this with the attached tarball
The fact that it can't find YAML is also a bit odd, as it's quite present on the system:
[kane@codebase2 /tmp]$ perl -MYAML -e1
[kane@codebase2 /tmp]$ perldoc -l YAML
/usr/local/share/perl/5.8.4/YAML.pod
Message body not shown because it is not plain text.