I'm building a "tech stack" - that is, downloading CPAN modules and installing them in a new directory, not the one that Perl lives in. Until now, all the modules I build are MakeMaker-based, but I've just started adding a new Module::Build-based module (Net::OAuth, in case you're curious) and am now stuck.
With MakeMaker, I run Makefile.PL with the PREFIX= and LIB= arguments. PREFIX tells Perl where the files will be installed, and LIB tells Perl where to find the modules that have been installed thus far. Adding Module::Build to the tech stack is easy, but when I try to compile Net::OAuth, I run into problems because it can't find Module::Build! I suppose I could use "perl -I" or PERL5LIB to specify the path, but I was looking for something analagous to the LIB= argument that I could give to Build.PL, and have that be propagated into the Build script that it generates. However, a perusal of the Module::Build man page didn't reveal any obvious answers. Is there such a feature?