Message-ID: <Pine.LNX.4.33.
0104231018270.10985-100000@dd.tc.fluke.com>
p4raw-id: //depot/perl@9798
my($prompt) = @_;
my($answer);
my($default) = $prompt =~ m/\[([yn])\]\s*$/i;
- warn $prompt;
+ print STDERR $prompt;
chop($answer = <STDIN>);
$answer = $default if $answer =~ m/^\s*$/;
($answer =~ m/^[yY]/);