On Wed, Jul 13, 2011 at 12:20:42AM +0300, Gabor Szabo wrote: > I was looking at ExtUtils::MakeMaker and wondering how could I > list a set of modules as optional dependencies? > As I could not find and answer I wonder if there is a well defined tool > for this in any of the packaging tools of Perl? > > If not, what is the recommended way to say in Makefile.PL and/or Build.PL: > > I don't require Module::Name version 2.7 but I'd work much > faster/better/cleaner if I had it. > Shall I install it?
Whatever you do, if you ask the user to choose, and you're using EU::MM, use the prompt() method instead of print()ing a question and trying to read STDIN yourself. prompt() does the right thing with buffering. -- David Cantrell | A machine for turning tea into grumpiness comparative and superlative explained: <Huhn> worse, worser, worsest, worsted, wasted