http://qs321.pair.com?node_id=631679

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

In the docs for Module::Install, it mentions, "recommends" line in the Makefile.PL file, but then gives no documentation for it. Does this line actually do anything? Is Module::Install the current favorite thingy to use to install multiple Perl Modules (Ala Bundle), or, should I be using something else?

I'm currently attempting to package a distribution of my own program, which requires a few CPAN perl modules and Module::Install looks like a good candidate to make that happen. Am I barking up the wrong tree?

 

-justin simoni
skazat me

Replies are listed 'Best First'.
Re: Module::Install recommends
by Anonymous Monk on Aug 10, 2007 at 03:12 UTC
    Not required, but recommended.

      Yeah, I got the idea of why it's there (and it looks useful), but the example in the Synopsis of the module itself, when run, doesn't quite give much feedback that anything happens at all.

      Is it simple a line that can *manually* be changed by someone who wants to peep into the Makefil.pl file and go, "oh hey, this is recommended, I'll just change this, 'recommend' bit to, 'required' and see what happens..."

      If so, that's fair enough and mad scientistic enough, but the docs don't gleam much on that.

       

      -justin simoni
      skazat me

Re: Module::Install recommends
by daxim (Curate) on Aug 11, 2007 at 17:56 UTC
    no documentation for it
    File a bug.
    Does this line actually do anything?
    Apparently something is going on in lib/Module/Install/Metadata.pm.
    install multiple Perl Modules
    Yes, via Task modules. See Task::Perl::Critic for an example.