Skip Menu |

This queue is for tickets about the Module-Build CPAN distribution.

Report information
The Basics
Id: 8436
Status: resolved
Priority: 0/
Queue: Module-Build

People
Owner: Nobody in particular
Requestors: schwern [...] pobox.com
Cc:
AdminCc:

Bug Information
Severity: Unimportant
Broken in: 0.2602
Fixed in: (no value)



Subject: Uninit warning if module_name not set.
Use of uninitialized value in string eq at /Library/Perl/5.8.1/Module/Build/Base.pm line 2189. If module_name is not set but dist_name is (as in a distribution for just executable files) the above warning comes from several operations. distdir is one. It is because ->module_name is undef. A simple solution would appear to be to make module_name return '' instead of undef when not set.
Thanks. Fixed in CVS for both bugfix & mainline branches. -Ken