Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^3: Can ExtUtils::MakeMaker recommend to install optional modules?

by Dallaylaen (Hermit)
on Jan 13, 2018 at 16:02 UTC ( #1207198=note: print w/replies, xml ) Need Help??


in reply to Re^2: Can ExtUtils::MakeMaker recommend to install optional modules?
in thread Can ExtUtils::MakeMaker recommend to install optional modules?

Default cpan client has recommends_policy and suggests_policy options under o conf just for that. Couldn't find anything in cpanm, but maybe it can, too. No idea about cpanplus.

Btw installing raw CPAN on perlbrew was nontrivial, though not complicated after all. Maybe brew should bundle a script for that...

  • Comment on Re^3: Can ExtUtils::MakeMaker recommend to install optional modules?

Replies are listed 'Best First'.
Re^4: Can ExtUtils::MakeMaker recommend to install optional modules?
by Anonymous Monk on Jan 13, 2018 at 19:22 UTC
    --with-recommends, --with-suggests EXPERIMENTAL: Installs dependencies declared as recommends and suggest +s respectively, per META spec. When these dependencies fail to instal +l, cpanm continues the installation, since they're just recommendatio +n/suggestion. Enabling this could potentially make a circular dependency for a few m +odules on CPAN, when recommends adds a module that recommends back th +e module in return. There's also --without-recommend and --without-suggests to override th +e default decision made earlier in PERL_CPANM_OPT. Defaults to false for both.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1207198]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (5)
As of 2018-01-21 02:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How did you see in the new year?










    Results (227 votes). Check out past polls.

    Notices?