On Fri, Oct 17, 2003 at 10:06:16AM +0000, Slaven Rezic wrote:
> 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.

How do you plan on assigning PERL_MM_DEFAULT_DB on a per module basis
from CPAN/CPANPLUS?  Or will you build One Grand Default File and One 
Grand Makefile.PL Parser?


-- 
Michael G Schwern        [EMAIL PROTECTED]  http://www.pobox.com/~schwern/
You're smoother than a tunnel of shining sorrow.

Reply via email to