This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
21f5b33
)
fix prototype mismatch (from Hans Mulder <hansm@xs4all.nl>)
author
Gurusamy Sarathy
<gsar@cpan.org>
Wed, 20 Oct 1999 01:00:50 +0000
(
01:00
+0000)
committer
Gurusamy Sarathy
<gsar@cpan.org>
Wed, 20 Oct 1999 01:00:50 +0000
(
01:00
+0000)
p4raw-id: //depot/perl@4416
lib/CPAN/FirstTime.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/CPAN/FirstTime.pm
b/lib/CPAN/FirstTime.pm
index
731d3ff
..
2899849
100644
(file)
--- a/
lib/CPAN/FirstTime.pm
+++ b/
lib/CPAN/FirstTime.pm
@@
-78,7
+78,8
@@
dialog anytime later by typing 'o conf init' at the cpan prompt.)
} else {
$fastread = 1;
$CPAN::Config->{urllist} ||= [];
- *prompt = sub {
+ # prototype should match that of &MakeMaker::prompt
+ *prompt = sub ($;$) {
my($q,$a) = @_;
my($ret) = defined $a ? $a : "";
printf qq{%s [%s]\n\n}, $q, $ret;