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
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