Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Dist-Zilla CPAN distribution.

Report information
The Basics
Id: 55479
Status: resolved
Priority: 0/
Queue: Dist-Zilla

People
Owner: Nobody in particular
Requestors: nperez [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.100660
Fixed in: (no value)



Subject: typoes in dist.ini required fields doesn't produce a meaningful error
I had a dist.ini file with a typo. licence = Perl_5 ^--- Here. Instead of being told "Hey, you are missing a required field!", the only error message delivered was "Unable to find main_module in dist"
The problem is that license isn't supposed to be required, but you can't get the main_module during BUILD. I think you need to move the guessing part of _initialize_license into a lazy builder.
This problem no longer exists. -- rjbs