Re: [Module::Build] PERL_MM_USE_DEFAULT
Status: Beta
Brought to you by:
kwilliams
|
From: Tyler M. <ty...@yi...> - 2006-01-20 01:44:05
|
Yitzchak Scott-Thoennes <sth...@ef...> wrote: > Without it, the build is going fail for the first person who > runs with </dev/null (in the existing code) or PERL_MM_USE_DEFAULT=1 > (with my patch to prompt()). > > Might as well force the module author to not make this mistake. True... we're *almost* there; I'd change this: die "y_n() called without y or n default" unless ($_[1]||"")=~/[yn]/i; To: die "y_n() called without y or n default" unless ($_[1]||"")=~/^[yn]/i; - Tyler |