http://www.perlmonks.org?node_id=1055223


in reply to Makefile.PL args in cpan(p, -, etc)

set PERL_MM_OPT and/or PERL_MB_OPT, either in the ENV or through the configuration
  • Comment on Re: Makefile.PL args in cpan(p, -, etc)

Replies are listed 'Best First'.
Re^2: Makefile.PL args in cpan(p, -, etc)
by mpersico (Monk) on Sep 23, 2013 at 13:41 UTC
    Thank you, anonymous. I will alter the Makefile.PL to set PERL_MM_OPT based on envvars that should be set before cpanp is run.

      Thank you, anonymous. I will alter the Makefile.PL to set PERL_MM_OPT based on envvars that should be set before cpanp is run.

      Why? I thought you wanted to avoid editing files?

      If you're going to edit files, why not set EXPATLIBPATH directly instead?

      Weird