Michael G Schwern <[EMAIL PROTECTED]> wrote:
> On Thu, Oct 16, 2003 at 06:08:34PM +0000, Slaven Rezic wrote:
> > Here's a proposal for better default value handling in Makefile.PL's.
> > It's basically an extension to the existing prompt() function. If
> > $ENV{PERL_MM_DEFAULT_DB} is defined, then it is used as a file
> > location for an AnyDBM_File. User input to prompt() will be stored
> > into this database and used next time as the default value. Furthermore,
> > if prompt() is called with a third parameter, then it is used for
> > parsing the command line for this argument. In this case, the user will
> > not be queried, but the specified value will go into the database
> > (this is debatable).
> 
> What does that do that:
> 
> cat response_file | perl Makefile.PL
> 
> doesn't?  Or a little expect-type script?
> 
> Makefile.PL should read from STDIN just fine.
> 

This is hard to do from CPAN.pm/CPANPLUS.pm.

Regards,
    Slaven

-- 
Slaven Rezic - slaven <at> rezic <dot> de

Reply via email to