Skip Menu |
 

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

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

People
Owner: Nobody in particular
Requestors: cpan [...] clotho.com
Cc:
AdminCc:

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



Subject: module_name undefined warning
Download (untitled) / with headers
text/plain 675b
In current CVS HEAD I'm getting this error: Use of uninitialized value in string eq at Module-Build/lib/Module/Build/Base.pm line 2976. This is happening because my module declares a dist_name, but not a module_name. So, the "eq" comparison below is causing warnings. # Since we're building ourself, we have to do some special stuff # here: the ConfigData module is found in blib/lib. local @INC = @INC; if ($self->module_name eq 'Module::Build') { $self->depends_on('config_data'); push @INC, File::Spec->catdir($self->blib, 'lib'); } The fix should be like line 439 of the same file: if (($self->module_name || '') eq 'Module::Build') { --Chris
Thanks, applied. -Ken


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.