projects
/
p5sagit/p5-mst-13.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
85fe4bb
)
ExtUtils::MakeMaker::prompt cannot return 0
Jochen Wiedmann [Thu, 17 Sep 1998 17:16:06 +0000 (19:16 +0200)]
Message-ID: <
360127B6
.E44564A@ispsoft.de>
p4raw-id: //depot/perl@1851
lib/ExtUtils/MakeMaker.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/ExtUtils/MakeMaker.pm
b/lib/ExtUtils/MakeMaker.pm
index
3e17be1
..
6321926
100644
(file)
--- 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 {