On Thu, Aug 9, 2012 at 3:48 AM, Shlomi Fish <shlo...@shlomifish.org> wrote:
> > perl Makefile.PL CC=whatever > > > > Many thanks, that worked like a charm. I believed I tried it, but maybe > I only tried setting the "CC" environment variable. > Why can't those variables be added via the environment? Or more related to a recent issue I had: If I'm installing a CPAN module via "cpan" or "cpanm" (or even as a dependency to some other module installed that way), how can I pass needed parameters to Makefile.PL? My specific situation is I'm setting up an environment for developers, and the goal is for them to check out some project and run Makefile.PL (or use cpanm --installdeps) to bring in all CPAN dependencies, but some of those dependencies need parameters passed to Makefile.PL. I can't seem to find it right now but isn't there a way to have site config files perl distribution to configure the build process -- such as to answer questions given during Makefile.PL? -- Bill Moseley mose...@hank.org