syphilis has asked for the wisdom of the Perl Monks concerning the following question:

Hi,

Let's say I want to install a certain module (namely, Math::MPFR) using the cpan utility, but I need the perl Makefile.PL step to be run as:
perl Makefile.PL D64=1 F128=1
Does the cpan utility accommodate that need to provide additional command line arguments ?
(I couldn't spot anything in the documentation that indicates it does.)

What about cpanminus and cpanplus ? Do either of them provide what I'm seeking ?

Cheers,
Rob

Replies are listed 'Best First'.
Re: passing additional options to cpan utility
by 1nickt (Canon) on Nov 30, 2017 at 14:26 UTC
      Yes, --configure-args does the trick.
      Thanks, 1nickt.

      Cheers,
      Rob