diff options
author | Jochen Wiedmann <joe@ispsoft.de> | 1998-09-17 19:16:06 +0200 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1998-09-23 10:37:05 +0000 |
commit | 9ad0a0f606dfe6bb2ec67942ae23eef93c8ce770 (patch) | |
tree | 6360af94b904c544cfbd5051d0ce86452613b5a9 /lib/ExtUtils | |
parent | 85fe4bb3cd62e7d3362c56b2eb9543ddb17e9a79 (diff) | |
download | perl-9ad0a0f606dfe6bb2ec67942ae23eef93c8ce770.tar.gz |
ExtUtils::MakeMaker::prompt cannot return 0
Message-ID: <360127B6.E44564A@ispsoft.de>
p4raw-id: //depot/perl@1851
Diffstat (limited to 'lib/ExtUtils')
-rw-r--r-- | lib/ExtUtils/MakeMaker.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ExtUtils/MakeMaker.pm b/lib/ExtUtils/MakeMaker.pm index 3e17be1a00..6321926948 100644 --- a/lib/ExtUtils/MakeMaker.pm +++ b/lib/ExtUtils/MakeMaker.pm @@ -192,7 +192,7 @@ sub prompt ($;$) { } else { print "$def\n"; } - return $ans || $def; + return ($ans ne '') ? $ans : $def; } sub eval_in_subdirs { |