in reply to Re: Module for setting up configuration file during module installation
in thread Module for setting up configuration file during module installation

The first link doesn't work. And I don't know enough about MakeMaker files to really know how to write my own to run a configuration script with the second module you linked to, unfortunately.

$PM = "Perl Monk's";
$MCF = "Most Clueless Friar Abbot Bishop Pontiff Deacon Curate Priest Vicar";
$nysus = $PM . ' ' . $MCF;
Click here if you love Perl Monks

  • Comment on Re^2: Module for setting up configuration file during module installation

Replies are listed 'Best First'.
Re^3: Module for setting up configuration file during module installation
by choroba (Cardinal) on Jan 03, 2019 at 06:39 UTC
Re^3: Module for setting up configuration file during module installation
by 1nickt (Canon) on Jan 03, 2019 at 12:16 UTC

    The first link is to a function prompt() provided in ExtUtils::MakeMaker. Didn't the lower casing of the last element indicate that? Did you look at the doc for EU::MM to find it? I've corrected the URL now, thanks Athanasius.

    The second link is to a dzil plugin that allows you to create a custom Makefile script, which would incorporate the prompting for input you wanted. If you're not willing to use it because you "don't know enough about it", then I don't know what can be done other than put in the effort to learn about it. Shrug.

    (The same author released Dist::Zilla::Plugin::ModuleBuild::Custom if you use Module::Build, but I am not aware of a built-in way to prompt for user information.)


    The way forward always starts with a minimal test.