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
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?
Results (331 votes),