Skip Menu |
 

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

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

People
Owner: Nobody in particular
Requestors: perlmonkey [...] gmail.com
Cc:
AdminCc:

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



Subject: 'subclass' should unshift onto @INC, not push
Download (untitled) / with headers
text/plain 425b
package: Module::Build::Base sub: subclass line: 748 The line that reads: push @INC, File::Spec->catdir(File::Spec->rel2abs($build_dir), 'lib'); Should be: unshift @INC, File::Spec->catdir(File::Spec->rel2abs($build_dir), 'lib'); When installing $class there will be problems if ${class}::Builder also exists, as it will be included instead of the one in _build. By unshifting onto @INC this problem is resolved.
Thanks, I've made this fix. -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.