On Fri, Feb 13, 2009 at 12:40 PM, Eric Wilhelm
<scratchcomput...@gmail.com>wrote:

> # from Bill Ward
> # on Friday 13 February 2009 12:22:
>
> >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?
>
> If there were, it would have to be a compile-time feature of the
> Build.PL -- because you can't find M::B until you can find it ;-)
>
> Anything in your @INC in Build.PL will be added to ./Build, so "perl -I"
> is probably your best bet.


So, if I used "perl -I" on Build.PL, it would remember that when doing Build
itself?

I'm passing "perl -I...." to Build.PL as well as the Build script that it
generates, which is working fine.  I was just hoping for something a little
more like how LIB= works with EU::MM

Reply via email to