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
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Rely on C89 prototypes
[perl5.git]
/
Porting
/
corecpan.pl
diff --git
a/Porting/corecpan.pl
b/Porting/corecpan.pl
index
3a38d11
..
75b18ab
100755
(executable)
--- a/
Porting/corecpan.pl
+++ b/
Porting/corecpan.pl
@@
-58,7
+58,7
@@
our $opt_f || !-f $packagefile and get_package_details;
# Load the package details. All of them.
my %cpanversions;
-open my $fh, $packagefile or die $!;
+open my $fh,
'<',
$packagefile or die $!;
while (<$fh>) {
my ($p, $v) = split ' ';
next if 1../^\s*$/; # skip header